Complete API Documentation
Everything you need to integrate NOWAITN's queue management into your applications.
Authentication
The NOWAITN API uses API keys to authenticate requests. You can view and manage your API keys in your account dashboard.
Keep your API keys secure! Do not share them in publicly accessible areas such as GitHub, client-side code, etc.
Authentication is performed via the Authorization header using Bearer token authentication.
curl https://api.nowaitn.com/v1/queues \
-H "Authorization: Bearer sk_live_xxx..."
Base URL
All API requests should be made to:
API Endpoints
Queues
/queues
List all queues
/queues
Create a new queue
/queues/:id
Retrieve a queue
/queues/:id
Update a queue
/queues/:id
Delete a queue
Guests
/queues/:id/guests
List guests in a queue
/queues/:id/guests
Add guest to queue
/guests/:id
Retrieve a guest
/guests/:id
Update a guest
/guests/:id/notify
Send notification to guest
/guests/:id/seat
Mark guest as seated
/guests/:id
Remove guest from queue
Notifications
/notifications
List all notifications
/notifications/templates
List notification templates
/notifications/send
Send custom notification
Example Request
Create a Guest
Add a new guest to a queue with optional party size and notes.
curl -X POST \
https://api.nowaitn.com/v1/queues/queue_abc123/guests \
-H "Authorization: Bearer sk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"name": "John Smith",
"phone": "+61412345678",
"party_size": 4,
"notes": "High chair needed"
}'
Response
Returns the created guest object with queue position.
{
"id": "guest_xyz789",
"name": "John Smith",
"phone": "+61412345678",
"party_size": 4,
"position": 3,
"estimated_wait": 15,
"status": "waiting",
"created_at": "2024-01-15T10:30:00Z"
}
Error Codes
| Code | Status | Description |
|---|---|---|
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Forbidden | Access denied to resource |
| 404 | Not Found | Resource does not exist |
| 429 | Rate Limited | Too many requests |
| 500 | Server Error | Internal server error |