Catalog›Files
Files
Machine-readable contract and a ready Postman collection.
Key points
- OpenAPI — openapi.yaml — import into Postman, Insomnia, Swagger UI, or a code generator.
- Postman — Set collection variable CLIENT_KEY. Run Connection first, then locations, quote, create.
- Live status — Poll GET /trips/{id}/status and patch the DOM. Never location.reload().
Import these into your integration instead of copying curl by hand. They describe the same Partner API on this site.
| File | Use |
|---|---|
openapi.yaml | OpenAPI 3.0 contract. Import to Postman, Insomnia, Swagger UI, or generate a client. |
trustcold-partner.postman_collection.json | Ready requests. Collection variable CLIENT_KEY. Includes create with governorate/area, optional address, quote, search, webhook. |
What to add in the partner app
- Render
GET /locationsas two cards (Pickup / Drop-off). Each card is one stacked list: Governorate, Area, then an optional address or Google Maps URL. - Quote after every place or vehicle change. Show the integer EGP
price. - Create with
Idempotency-Key. Ifpayment_urlis set, open it. - Register
PUT /webhookand verifyX-TrustCold-Signature. - Live status: poll
GET /trips/{id}/status(or/trips/updates) and patch the DOM. Do not reload the page. Stop whenpoll_after_msis 0.
curl https://trustcoldeg.com/developers/openapi.yaml
curl https://trustcoldeg.com/developers/trustcold-partner.postman_collection.json