Development Reference — API Integration
This page is the high-level reference for developers integrating with the travel portal API.
Base rules
- Prefer versioned routes:
/api/v1/... - Always send
Accept: application/json - For protected endpoints, send
Authorization: Bearer {access_token} - For tenant-scoped behavior on stateless clients, pass one:
tenant_id(query/body), ortenant(id/slug/domain), orX-Tenantheader
Function references (separate docs)
- Login / auth
- Hotels API engine (tenant vendor filtering, booking flow)
- Vacation incentives
03_VACATION_INCENTIVES.md- Full contract:
VACATION_INCENTIVES_MOBILE_API.md
- Postman quickstart (ready-to-run)
Machine-readable checks
- Tenant capabilities and effective hotel vendors:
GET /api/v1/tenant/capabilities
In-app developer page
- Tenant admin:
/tenant-admin/developer - Super admin:
/super-admin/developer
These pages show the active tenant context and vendor effectivity that should match the front-end behavior.