Getting started
External API: keys, endpoints, errors and security
These guides describe the application’s current behaviour. End-to-end live use and actual message delivery have not yet been verified.
Enabled by an administrator. Off by default; server configuration and related business permissions may be required.
- An administrator enables the external API. Create a key in Settings > General and store the key shown only at creation in a secure server environment. Never put it in URLs, browser code or logs.
- Use the Authorization: Bearer <API_KEY> header; <API_KEY> is a placeholder. GET /api/v1/slots requires service and date. GET /api/v1/appointments lists records; both endpoints paginate using limit/offset.
- POST /api/v1/appointments requires a JSON body with name, phone, service, start and consent:true. Add locationId for multiple active locations. Responses omit customer names, contacts and notes.
- Read error.code: 400 validation/invalid_page; 401 unauthorized; 403 forbidden/booking_disabled; 409 conflict/duplicate; 413 body limit; 415 content type; 429 rate_limited/daily_limit/limit_reached; 503 unavailable; 404 disabled when the feature is off. Follow Retry-After for rate limits.
- Each key allows 30 requests per minute and expires after 90 days. Review last use in the dashboard; revoke or rotate if needed. Scope is limited to the key’s business; there is no webhook or payment endpoint.
Related questions
Can I view my API key again?
The key is shown only at creation; the server stores a hash. Revoke and create a new key if lost; an administrator must enable the API.
Open guideWhat should I do for API 401, 409 or 429?
For 401 check validity/revocation; for 409 refresh available times. For 429 inspect error.code and Retry-After if present; rate, daily contact or capacity limits may apply.
Open guide