Documentation
Start here. One HTTPS JSON API, one client key, Arabic or English labels.
Key points
- Base URL — Every path in this site is relative to https://trustcoldeg.com/api/v1/b2b
- Auth header — Send Authorization: Bearer CLIENT_KEY and Accept: application/json. Never put the key in the query or body.
- Language — Accept-Language: ar or en. Catalog labels follow that header.
- Places — Pickup and drop-off are one list: governorate, area, then an optional address or Google Maps URL. No map.
- Files — Import openapi.yaml or the Postman collection instead of copying curl by hand.
Partner API
Book and track refrigerated trips from your own system. One HTTPS JSON API: quote a fare, book a trip, follow it on the road and receive signed webhooks. A key only ever sees your own trips.
Run this from your browser — add your free test keys.
Add test keys
Everything can be tested for free with a test key before you go live. Nothing is booked and nothing is charged.
Building with an AI assistant?
These docs are ready for Cursor, Claude Code, ChatGPT and other coding agents. Point yours at
These docs are ready for Cursor, Claude Code, ChatGPT and other coding agents. Point yours at
/developers/llms.txt for a map of every page, or hand it the full OpenAPI spec. Every page also has a Copy Markdown button and an Open menu for ChatGPT and Claude. See Build with AI for ready-to-use prompts.Choose your path
| Path | When to use it | Time to launch |
|---|---|---|
| Quick start | Five calls from nothing to a booked trip. | An hour |
| Authentication and security | Keep the key on your server. Lifetime, revocation, rotation. | Read first |
| Book a trip | Quote, create, update and cancel refrigerated trips. | Hours |
| Live status and tracking | Poll with an ETag, or follow the truck on the road. | Hours |
| Webhooks | Signed events with replay protection. Test and rotate. | Hours |
| Go-live checklist | Everything to tick before real traffic. | Minutes |
Environments
| Environment | Key | What happens |
|---|---|---|
| Test | Test key (90 days) | Trips are simulated. Nothing is booked, no driver is sent. Responses carry X-TrustCold-Mode: test. |
| Live | Client key (3 years) | Real trips and real charges. Base URL https://trustcoldeg.com/api/v1/b2b. |
Your first call
Send your key as a Bearer token. A 200 means you are connected.
curl https://trustcoldeg.com/api/v1/b2b/connection \
-H "Authorization: Bearer CLIENT_KEY" \
-H "Accept: application/json"{
"ok": true,
"message": "The connection is valid for this client.",
"mode": "live",
"data": { "id": 32, "code": "CL-0032", "name": "Example Trading Co." }
}At a glance
| Format | JSON over HTTPS. Bearer key. Accept-Language ar or en. |
|---|---|
| Rate limit | 60 requests per minute per key. 429 with Retry-After. |
| Key lifetime | 3 years. Revocable at any time. |
| Retries | Creates are idempotent. Retry safely with Idempotency-Key. |
Downloads
- openapi.yaml — OpenAPI 3.0. Import into Postman, Insomnia or a code generator.
- Postman collection — set CLIENT_KEY and run Connection first.
Questions or a problem? Use the contact page. Changes are listed in the Changelog.