Lead provider API

Auto transport lead provider API

Give each lead provider their own key, and their leads land in your pipeline the moment they are generated — tagged with the vendor that sent them, de-duplicated, and with ZIP codes already resolved into a real route. Multi-vehicle leads arrive with every vehicle on them. Included in the plan, with no per-lead fee.

Lead providers already connected
  • Lenox Digital
  • Vade Media via Leadspedia

Typing leads in is where the good ones get lost

Most brokerages buy leads as well as earning them, and the handover is usually the worst part of the day. A vendor emails a CSV overnight and somebody pastes it in by hand. A customer already in the pipeline gets entered a second time. A ZIP code arrives with no city or state, so the route column reads 75201. And three months later nobody can say which vendor actually produced paying customers, so every contract gets renewed.

How it works

Three steps, and the work is on their side

You create a key and send a link. Your provider's developer does the rest, and needs nothing further from you or from us.

1. Create a key per provider

In Settings → Lead Capture, add a key and name it after the vendor. The key is shown once and stored only as a fingerprint, so nobody — including us — can read it back afterwards.

2. Send them the guide

Beside every key is an integration guide: the address to post to, the authentication header, a working example, every field accepted and every response returned. Send that page to the provider.

3. Leads arrive ready to work

Tagged with the provider's name, routed, de-duplicated, and sitting in your Leads tab ready to quote. Nobody retypes a phone number at 7am.

One key per provider is the point: it is what lets you see which vendor sent what, and switch one off without disturbing the others.

What the integration actually does for you

Bought leads arrive quietly

A provider can deliver two hundred leads in one burst. If every one buzzed your phone you would switch notifications off within a week, and then miss the ones that matter — like a signed order landing. So provider leads arrive quietly: no sound, no phone notification, no pop-up. The number on your Leads tab goes up and the list refreshes by itself, so they queue up ready to be worked, while leads from your own website notify you exactly as they always did. That is a deliberate decision, not an oversight.

The same person never lands twice

Every provider retries after a network hiccup. A repeat is caught two ways: by the provider's own lead ID, so a retry storm cannot create a hundred copies, and by the person, so the same email or phone inside 24 hours is merged into the existing lead rather than creating a rival record.

ZIP codes become real routes

Providers vary wildly in what they send. Some give a full address, some give five digits. Send 75201 and 33101 and the lead reads Dallas, TX → Miami, FL, with city, state and postal code stored separately so they flow straight into a quote.

Every vehicle on the lead

A family moving two cars, or a dealer shipping five, arrives as one lead with every vehicle on it, up to ten. The Leads list shows the first vehicle with a "+2 more" tag, the lead lists them all, and converting to a quote brings every vehicle across, so nobody quotes one car for a customer who has three.

Sloppy data costs a warning, not a lead

Every field has a sensible size limit. Anything oversized is trimmed and flagged, and the lead still lands. A vendor with a verbose notes field or an odd date format never costs you a customer who was genuinely looking to ship.

You can see which vendor is worth the money

The provider's name travels with the lead through quote and order, so months later you can still tell which vendor produced revenue and which produced noise. It is the same discipline that makes broker fee by lead source a report rather than a guess.

Volume limits that protect you

Each key accepts up to 500 leads a day and 120 requests a minute. The limits are per key, so one provider can never consume another's allowance, and a misconfigured vendor cannot flood your pipeline overnight.

Staying in control

Everything is per key, in your own settings, with no call to support. If a vendor starts sending rubbish at two in the morning, you pause them in one click and sort it out in business hours.

Controls available on every provider key.
ActionWhat it does
PauseStops that provider immediately. History is kept, and it is reversible at any time.
RotateIssues a new secret for the same provider, for a leaked or routinely rotated key.
DeleteRemoves the key permanently.

Keys can only create leads, and only on the account they were issued for. They cannot read anything back — which is the same company-scoped rule the rest of the platform follows, set out on the security page.

For your provider's developer

The API contract

This section is the technical contract, deliberately close to what the industry already sends. Send your provider this page — their developer needs nothing else.

Endpoint

EndpointHTTP
POST https://app.truxcrm.com/api/leads/inbound
Content-Type: application/json
Authorization: Bearer <your key>

X-Api-Key: <your key> is accepted as an alternative header. One lead per request, not an array of leads (a list of vehicles inside one lead is fine, see below), with the body under 16 KB.

Example request

Send one leadcURL
curl -X POST https://app.truxcrm.com/api/leads/inbound \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "YOUR-LEAD-ID-123",
    "full_name": "John Smith",
    "email": "john@example.com",
    "phone": "555-010-2030",
    "origin_city": "Dallas", "origin_state": "Texas", "origin_zip": "75201",
    "destination_city": "Miami", "destination_state": "Florida", "destination_zip": "33101",
    "vehicle_year": "2019", "vehicle_make": "Honda", "vehicle_model": "Civic",
    "vehicle_type": "Sedan",
    "transport_type": "Open",
    "ship_date": "2026-11-15",
    "notes": "Runs and drives"
  }'

Fields

Required. full_name, or first_name and last_name; and at least one of email or phone.

Strongly recommended. external_id — your own lead ID. It is what makes a retry incapable of creating a duplicate. Send it.

Optional. Route: origin_city, origin_state, origin_zip, destination_city, destination_state, destination_zip. Vehicle: vehicle_year, vehicle_make, vehicle_model, vehicle_type, or a vehicles list for several vehicles (see below). Also transport_type (Open or Enclosed; anything unrecognised is stored as Open and flagged in warnings), ship_date (YYYY-MM-DD or MM/DD/YYYY), estimated_price (a number such as 1250; $ and commas are fine, and anything that is not an amount is stored blank and flagged in warnings) and notes.

vehicle_type should be one of: Sedan, SUV, Pickup, Coupe, Convertible, Hatchback, Wagon, Van, Minivan, Motorcycle, Boat, RV, Heavy Equipment, Other. Upper or lower case is fine, and common words are understood too: for example Car is stored as Sedan, Truck as Pickup, Crossover as SUV and Motorhome as RV. Anything we cannot recognise is stored blank and flagged in warnings, so map unusual values to this list.

Aliases also accepted. name, customer_name, contact_name · email_address · phone_number, mobile, primary_phone · pickup_city/state/zip, from_city/state/zip · dropoff_*, delivery_*, dest_*, to_* · year, make, model · shipping_type, trailer_type, service_type · shipping_date, pickup_date, available_date · comments, message, additional_info · lead_id, provider_lead_id, reference_id · price, estimate, quoted_price · vehicle_category, body_style. Unknown fields are ignored, so extra data in a payload is harmless.

Several vehicles in one lead

Send a vehicles list, up to 10 vehicles per lead. Each vehicle takes year, make, model and type (the same type list as above).

One lead, three vehiclesJSON
{
  "external_id": "YOUR-LEAD-ID-124",
  "full_name": "Maria Lopez",
  "phone": "555-010-4477",
  "origin_zip": "75201",
  "destination_zip": "30303",
  "vehicles": [
    { "year": "2019", "make": "Honda",  "model": "Civic", "type": "Sedan" },
    { "year": "2020", "make": "Toyota", "model": "Camry", "type": "Sedan" },
    { "year": "2018", "make": "Ford",   "model": "F-150", "type": "Pickup" }
  ]
}
  • One vehicle? Keep using vehicle_year, vehicle_make, vehicle_model and vehicle_type. Nothing changes.
  • Numbered fields work too: vehicle_1_year, vehicle_1_make, vehicle_2_year, vehicle_2_model and so on.
  • Sent the single fields and a list? The single-field vehicle is kept unless it is already in the list, so it is never counted twice.
  • More than 10 vehicles: the first 10 are kept and the rest are reported in warnings.
  • What the broker sees: every vehicle on the lead, and all of them carry into the quote.

Field limits

Values above these are trimmed and reported in warnings. The lead is still accepted.

Maximum length accepted, in characters.
FieldMax
full_name120
email160
phone40
origin, destination120
vehicle_make, vehicle_model40
vehicle_year10
vehicles10 vehicles per lead
notes1000
external_id120
Whole body16 KB

Responses

Status codes returned by the inbound leads endpoint.
CodeMeaningRetry?
201Lead created. The body contains lead_id.—
200Duplicate: same external_id, or same person within 24 hours. Merged.No
400Invalid payload. The body lists what to fix.Not unchanged
401Missing or bad key.No
403Key paused (the broker can re-activate it), lead capture is off for this account, or the account is not active.No
413Body over 16 KB.Not unchanged
429Rate limited, or the daily cap is reached. See Retry-After.Yes, later
503Temporary problem on our side.Yes, later

A successful response looks like this:

201 CreatedJSON
{
  "success": true,
  "status": "created",
  "lead_id": 48213,
  "order_id": "NV00241",
  "accepted_today": 137,
  "daily_cap": 500,
  "warnings": []
}

accepted_today and daily_cap let a provider pace itself without guessing.

Reading the reply

Check status in the JSON body.

What each status value in the reply means.
statusMeaning
createdAccepted. A new lead was created.
duplicateWe already have this lead. Count it as a duplicate, not an error, and do not resend.
Anything elseNot accepted. error or errors says why.

A duplicate is "success": false on purpose, so do not use success on its own to decide. A duplicate reply looks like this:

200 DuplicateJSON
{
  "success": false,
  "status": "duplicate",
  "duplicate_of": "external_id",
  "lead_id": 48213,
  "order_id": "NV00241",
  "message": "This external_id was already received; no new lead created."
}

Using a lead platform

On Leadspedia, LeadProsper, boberdoo and similar platforms, set the buyer delivery to:

  • Method: POST to https://app.truxcrm.com/api/leads/inbound
  • Body format: JSON (Content-Type: application/json). Form posts are not accepted.
  • Header: Authorization: Bearer <your key>
  • Success: the reply's status is created. Duplicate: status is duplicate.
  • Map your lead ID to external_id, so a resend never creates a second lead.
  • Multi-vehicle leads: map the vehicles to the vehicles list, or to numbered fields such as vehicle_1_year, vehicle_2_year.
  • Put anything there is no field for, such as whether the vehicle runs, in notes.

Rate limits

500 accepted leads per day per key, returning 429 until midnight beyond that, and 120 requests per minute per key. Every response carries standard RateLimit-* headers.

Questions brokers ask

Do I need a developer to connect a lead provider?

No. You create a key in Settings and send the provider the integration guide beside it. The work is on the provider's side, and for their developer it is an afternoon at most.

What if I buy leads from several providers?

Give each one its own key. That is how you compare them, because the provider's name travels with every lead through quote and order — and it is how you pause one vendor without touching the rest.

Can one lead have more than one vehicle?

Yes, up to ten. The provider sends them as a list in the same lead. You see every vehicle on the lead, the Leads list shows the first with a "+2 more" tag, and converting to a quote brings all of them across. Single-vehicle leads work exactly as before.

Can a provider see my other leads, or another company's?

No. A key can only create leads, and only on the account it was issued for. It cannot read anything back.

Does it work with Leadspedia, LeadProsper or boberdoo?

Yes. Set the buyer delivery to a JSON POST to the endpoint above with your key in the Authorization header, and map the platform's lead ID to external_id. A reply with status created is a sale; duplicate means TruxCRM already has that lead.

What happens if someone gets hold of an API key?

Rotate it in the panel and the old secret stops working immediately. Keys are stored as fingerprints rather than as text, so a copy of the database would not reveal them.

Will bought leads bury me in notifications?

No. Provider leads make no sound and send no phone notification; only the number on your Leads tab goes up, and the list refreshes by itself. A two hundred lead burst that buzzed your phone would have you turning notifications off altogether. Leads from your own website still notify you as usual.

What happens when a provider hits 500 leads in a day?

The provider receives a clear "try later" response with a retry time, and resumes at midnight. Nothing is lost on your side. Talk to us if you need a higher ceiling.

Does the lead provider API cost extra?

No. It is part of the one TruxCRM plan, with no per-lead fee and no charge per key. The pricing page has the full plan.

Already a customer? Settings → Lead Capture → Create an API key. Not yet? Book a free demo Ask a question

Buying leads is one half of the pipeline. The other is earning them: see lead capture forms for your website. Holding a list already, or moving from another CRM? Import it from CSV. Once a lead books, TruxCRM is an official Central Dispatch partner, so the load is posted to Central Dispatch, or to Super Dispatch, from the same order; see the rest of the platform on the features page.