Cairo Calling
API Documentation

Build custom integrations with the destinationlab REST API.

Full programmatic access to orders, customers, products, itineraries, invoices, webhooks, and more. Authenticate with scoped API keys and receive real-time events via webhooks.

Quick Start

Get started in minutes

Generate an API key from your admin dashboard, then make your first authenticated request.

Authentication

API keys with scoped permissions. Each key can be restricted to specific resources and actions.

curl -X GET https://api.destinationlab.io/v1/orders \
  -H "Authorization: Bearer uk_live_a1b2c3d4..."

RESTful Resources

Standard REST endpoints for orders, customers, products, invoices, itineraries, and more.

GET    /v1/orders
POST   /v1/orders
GET    /v1/orders/:id
PATCH  /v1/orders/:id
DELETE /v1/orders/:id

Webhooks

Subscribe to real-time events. We sign every payload with HMAC-SHA256 for verification.

POST /v1/webhooks
{
  "url": "https://your-app.com/hook",
  "events": ["order.created", "payment.received"],
  "secret": "whsec_..."
}

Tenant Isolation & Security

All API responses are scoped to your tenant. Data is isolated at the database level โ€” your API key can never access another organization's records. Rate limited to 1,000 req/hr by default.

HTTP/1.1 200 OK
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-Tenant-ID: your-tenant-id
Endpoint Reference

Available API endpoints

Method
Endpoint
GET
/v1/orders
POST
/v1/orders
GET
/v1/customers
POST
/v1/customers
GET
/v1/products
GET
/v1/invoices
POST
/v1/invoices
GET
/v1/itineraries
POST
/v1/itineraries
GET
/v1/suppliers
GET
/v1/webhooks
POST
/v1/webhooks
GET
/v1/webhooks/deliveries
SDKs & Libraries

Official client libraries

Node.js / TypeScript

npm install @destinationlab/sdk

Python

pip install destinationlab

PHP

composer require destinationlab/sdk

cURL

Available on all platforms
ไปŠๆ—ฅใ‹ใ‚‰ๅง‹ใ‚ใพใ—ใ‚‡ใ†

ๆ—…่กŒใ‚ชใƒšใƒฌใƒผใ‚ทใƒงใƒณใ‚’ๅŠน็އๅŒ–ใ™ใ‚‹ๆบ–ๅ‚™ใฏใงใใฆใ„ใพใ™ใ‹๏ผŸ

ไปŠๆ—ฅใ‹ใ‚‰14ๆ—ฅ้–“ใฎ็„กๆ–™ใƒˆใƒฉใ‚คใ‚ขใƒซใ‚’ๅง‹ใ‚ใพใ—ใ‚‡ใ†ใ€‚ใ‚ฏใƒฌใ‚ธใƒƒใƒˆใ‚ซใƒผใƒ‰ไธ่ฆใ€‚ใ™ในใฆใฎๆฉŸ่ƒฝใซใƒ•ใƒซใ‚ขใ‚ฏใ‚ปใ‚นใ€‚