API for your TMS
The API and webhooks are on the Pro plan. Keys are created in settings and shown once. Send Authorization: Bearer keel_…. Sixty requests a minute. Webhooks are signed with X-Keel-Signature: sha256=… over the raw body.
GET /api/v1/carriers/{dot}
GET /api/v1/carriers/MC135797
GET /api/v1/carriers/{dot}/snapshot
GET /api/v1/carriers/{dot}/documents
POST /api/v1/packets/request
GET /api/v1/packets/{requestId}
GET /api/v1/network?limit=50&offset=0The carrier path accepts a USDOT or an MC docket. MC135797 is the same carrier as USDOT 80806. A request with no bearer token is rejected.
Document links expire after 15 minutes. You only get files your brokerage collected or that a carrier has shared with you.
Two TMS calls
Create a sandbox key in settings. It starts with keel_test_ and can only read or trigger packets for that brokerage. The bearer below is a sample, not a working key.
Pull status
curl -sS -H "Authorization: Bearer keel_test_SANDBOX_EXAMPLE" \ "https://keelfirst.com/api/v1/carriers/80806"
Trigger a packet
curl -sS -X POST -H "Authorization: Bearer keel_test_SANDBOX_EXAMPLE" \
-H "Content-Type: application/json" \
-d '{"usdot":"80806","contact":"safety@example.com"}' \
"https://keelfirst.com/api/v1/packets/request"Errors
- Add your brokerage name in Settings first.
Webhooks
- packet.completed
- status.changed
- alert.triggered
- access.granted
- contact.changed
Every delivery, including failures, is logged in Settings. Endpoints must be public HTTPS.
Send Keel events to your TMS
Keel posts signed JSON to your endpoint when a packet is completed or a watched carrier's FMCSA record changes. Verify the signature, then update the carrier in your TMS.
Verify the signature
The header name is x-keel-signature, also written X-Keel-Signature. The value is sha256= plus a lowercase hex digest. The digest is HMAC-SHA256 of the raw body, and the key is the endpoint secret from settings. Keel signs those exact posted bytes and hex-encodes the digest. Read the body as it arrived. Parsing the JSON and stringifying it again will not match, because key order is part of the signed bytes. The request also sends x-keel-event with the event name.
Check a verifier with this sample secret and raw body. The header is the digest of those exact bytes. The secret is a sample, not a key from settings. Sign a Keel payload the same way.
secret: key raw body: The quick brown fox jumps over the lazy dog X-Keel-Signature: sha256=f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8
Update the carrier
packet.completed means the carrier finished a packet. data.usdot is the USDOT. data.request_id is the packet. data.verdict is pass, warn, fail, or null. A packet the carrier signs sends data.opt_in as true or false. A packet shared from a carrier account sends those same fields with data.opt_in set to false. A packet recorded by the brokerage sets data.source to manual and omits opt_in. Match the carrier in your TMS on the USDOT, or on the reference code KEEL- followed by that USDOT.
status.changed means a watched carrier's FMCSA record changed. data.usdot is the USDOT. data.summary is the change text, and it can include a review link. data.verdict is pass, warn, or fail.
Sample payloads
These are the JSON bodies Keel posts. sent_at is the time Keel built that body. Sign each body as raw text.
{"event":"packet.completed","sent_at":"2026-10-15T12:00:00.000Z","data":{"request_id":"req_1","usdot":"80806","verdict":"pass","opt_in":true}}{"event":"packet.completed","sent_at":"2026-10-15T12:00:00.000Z","data":{"request_id":"req_2","usdot":"80806","verdict":null,"source":"manual"}}{"event":"status.changed","sent_at":"2026-10-15T16:00:00.000Z","data":{"usdot":"80806","summary":"Hunt Transport: insurance dropped.","verdict":"warn"}}Retries
Keel posts once when the event happens. That first post is the only one a packet completion waits for. If it fails, Keel tries the same stored body and the same signature again. It does not sign a new JSON string, so sent_at stays the time of the first post. The waits after each failure are 1 minute, 5 minutes, 15 minutes, and 60 minutes. The fifth failure marks the delivery dead and clears the next try. Keel does not post it again. A post that succeeds stops the retries. A URL that is not public HTTPS is marked dead and is not retried. A delivery whose endpoint was removed, or whose saved body is missing, is marked dead and is not posted. An interrupted post is eligible again after 10 minutes, and that interruption does not add an attempt. Each retry run sends up to 25 due deliveries. A local run and a production deploy post and retry. Staging does not.