TrustColdDevelopers
Catalog›Files

Files

Machine-readable contract and a ready Postman collection.

Run this from your browser — add your free test keys.

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.

FileUse
openapi.yamlOpenAPI 3.0 contract. Import to Postman, Insomnia, Swagger UI, or generate a client.
trustcold-partner.postman_collection.jsonReady requests. Collection variable CLIENT_KEY. Includes create with governorate/area, optional address, quote, search, webhook.

What to add in the partner app

  1. Render GET /locations as two cards (Pickup / Drop-off). Each card is one stacked list: Governorate, Area, then an optional address or Google Maps URL.
  2. Quote after every place or vehicle change. Show the integer EGP price.
  3. Create with Idempotency-Key. If payment_url is set, open it.
  4. Register PUT /webhook and verify X-TrustCold-Signature.
  5. Live status: poll GET /trips/{id}/status (or /trips/updates) and patch the DOM. Do not reload the page. Stop when poll_after_ms is 0.
curl https://trustcoldeg.com/developers/openapi.yaml
curl https://trustcoldeg.com/developers/trustcold-partner.postman_collection.json