Endpoints
Reference for all GariTicket REST endpoints available to external partners.
Standard page format
Every endpoint in this documentation follows the same structure:
| Section | Description |
|---|---|
| Description | What the endpoint does |
| Authentication required | JWT, API key, or public |
| Permissions | Role / scope requirements |
| Headers | Required HTTP headers |
| URL parameters | Path segments |
| Query parameters | Filter, pagination, sorting |
| Request body | JSON schema with validation rules |
| Success response | Status code and example payload |
| Error responses | Common failure cases |
| Code examples | cURL, JavaScript, PHP, Python |
Reference implementations
These pages are fully documented today:
- Reporting — API key, production-ready
- Search Tickets — JWT / public search
- Create Booking — JWT transactional example
Other endpoint pages are published with the standard layout and will be completed as the OpenAPI specification is expanded.
Response format
All endpoints return JSON with code, data, and message. See Error handling.