Skip to main content
Every lead source you create in BeRocker gets its own endpoint URL. POST a lead to that URL and it lands in the CRM, attributed to that source, and gets distributed to an agent.

1. Get your endpoint URL

1

Create the source

Settings → Lead Management → Lead sources → + Add new source. Give it a name; optionally a plan name and per-lead price.
2

Copy the URL

In the URLs column, click the copy icon next to Lead save URL.
Copying a lead source endpoint URL from the URLs column
The URL looks like:
The key is embedded in the URL, so authentication is built in — there is no separate token to send. The same key also accepts urgent (“hot”) leads at …/<api-key>/save/hot — identical payload and response, but the lead is flagged hot and the assigned agent gets a hot-lead notification. The CRM does not currently display that URL; build it from the Lead save URL.
Always copy the URL from the CRM rather than typing it. Every endpoint on this page lives under the same prefix as the Lead save URL — replace the trailing /save with the path shown for each one.
Treat the URL like a password. Anyone who has it can create leads in your account. If it leaks, delete the source and create a new one.

2. Request


3. Payload

Required

Customer and route

The shipment

The cost of a lead is not taken from the payload — it is always the source’s Per Lead Price from the Lead sources table. Send leads with a different price through a different source.
Some BeRocker editions can also take a pickup window (a first and last day) or a pickup timeframe (“how soon”) instead of a single date. Those fields are optional, are ignored by every other edition, and are documented separately in Lead Source API with pickup windows. If you are a lead provider posting on behalf of a customer, ship_date is all you need.

Each vehicle

Vehicle types: Car, sedan, Coupe, Convertible, SUV, Van, Pickup, pickup_2_doors, pickup_4_doors, Motorcycle, ATV, Boat, RV, Travel Trailer, Other.
A lead containing a custom vehicle skips the automatic quote and is routed to an agent for manual pricing instead — a travel trailer should not be auto-quoted like a sedan.
To offer pickers instead of free-text vehicle fields, read the year, make and model lists from the Vehicle database API — the names it returns are exactly what vehicle_make and vehicle_model expect, and each model comes with its vehicle_type.

4. Example


5. Response

A successful save answers 200 with the lead as created. The fields worth reading: A validation failure answers 422. message is the first few field messages joined together (so it can be shown as-is), and errors maps each field to its message:
A key that does not exist, or whose lead source is Disabled, answers 403 with "message": "Invalid credentials".
The same submission (same contact, route, date and vehicles) posted again within 30 minutes — a provider retry, for instance — is answered with the lead already created rather than a duplicate.

6. Checking the price — booking-status

One read-only endpoint sits next to the save URL, under the same key. Your own quote form uses it to know when the automatic quote is ready; the walkthrough is in Build your own quote form.
Whether the automatic quote for a lead you just saved is ready.
The endpoint answers 404 for a lead that belongs to another organization.

7. What happens next

1

The lead is created

Attributed to the source whose URL you posted to.
2

It is assigned

Per your lead distribution rota — quotas, shift hours, and the after-hours fallback.
3

It may be quoted automatically

If Auto Price is on in Pricing, and no vehicle is custom.
4

It shows up everywhere

In Inbox as a conversation and in Shipments as a row.

Testing and troubleshooting

Send one lead with your own name and phone number and watch it arrive.
If your provider emails leads instead of posting them, use Email parsing rather than this API.

Build your own quote form

The full flow: ask what to show, save, wait for the price, hand off to booking.

Lead sources

Create the source and get the URL.

Lead distribution

Who receives these leads.

Lead Source API with pickup windows

Optional pickup fields, for editions that have them.