API Documentation
Complete reference for integrating NoQue's appointment booking platform into your applications.
Getting Started
Welcome to the NoQue API. This RESTful API allows you to integrate appointment booking into your applications.
Base URL
Authentication
NoQue uses two authentication methods:
- Admin Token: For administrative operations (header:
x-admin-token) - JWT Bearer: For citizen operations (header:
Authorization: Bearer {token})
Quick Example
Authentication
/api/auth/send-otp
Send OTP to phone number for citizen authentication.
Request Body
Response
Example
/api/auth/verify-otp
Verify OTP code and receive JWT access token.
Request Body
Response
Locations
/api/locations
Get list of all service locations.
Response
Example
Services
/api/services
Get list of available services, optionally filtered by location.
Query Parameters
location_id(optional): Filter by location UUID
Response
Example
Slots
/api/slots
Get available time slots for a service on a specific date.
Query Parameters
service_id(required): Service UUIDdate(required): Date in YYYY-MM-DD formatavailable_only(optional): Show only available slots (default: true)
Response
Example
Bookings
/api/bookings
Create a new booking for a time slot.
Request Body
Response
Example
/api/bookings/by-ref/{reference}
Get booking details by reference number.
Response
Example
Error Handling
The API uses conventional HTTP response codes:
| Code | Meaning |
|---|---|
200 |
OK - Request succeeded |
201 |
Created - Resource created successfully |
400 |
Bad Request - Invalid parameters |
401 |
Unauthorized - Invalid authentication |
404 |
Not Found - Resource doesn't exist |
409 |
Conflict - Slot already fully booked |
500 |
Server Error - Something went wrong |
Error Response Format
Rate Limits
To ensure fair usage, the API has the following rate limits:
- Public endpoints: 100 requests per minute
- Authenticated users: 300 requests per minute
- Admin token: 1000 requests per minute
Rate limit headers are included in all responses:
Need Help Getting Started?
Our team is here to help you integrate NoQue into your applications.
Contact Support Try Widget Demo