API Reference
REST endpoints for the seven core Servicebay resources
The Servicebay API exposes the seven core resources of an organisation through predictable REST endpoints. Pick a resource below to see its endpoints, code examples, and any quirks worth knowing about.
Resources
Organisations
Read and update the organisation your API key belongs to.
Customers
Manage customer records and look them up by phone or email.
Jobs
Create and manage service jobs (instore, offsite, or remote).
Services
Reusable service templates with pricing and warranty defaults.
Inventory
Stock items with SKU lookup and stock counts.
Quotes
Create, send, and track quotes linked to a customer or job.
Invoices
Invoices with deposits, balances, and discounts.
Calendar Events
Standalone events or events linked to a specific job.
Base URL
All requests go to:
https://developer.servicebay.io/api/v1Authentication
Every request must carry an X-API-Key header containing a key created in the
developer portal. Each key
is bound to one organisation and cannot read or write data outside it.
curl -X GET \
'https://developer.servicebay.io/api/v1/organisations/{orgId}/customers' \
-H 'X-API-Key: sk_live_your_api_key'See Authentication for the full key lifecycle and Two-Factor Authentication for the portal sign-in flow.
Response envelope
Every response uses the same JSON envelope, so client code only needs one parsing path.
Success
{
"success": true,
"data": { /* resource payload */ }
}Error
{
"success": false,
"error": "Description of what went wrong"
}See Error Handling for the full status code reference.
Rate limits
100 requests per minute per API key. Every response includes
X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers
so you can pace yourself. See Rate Limiting for retry
patterns.
Interactive reference
For schemas, request/response examples, and a try-it-out console, browse the machine-readable OpenAPI 3.1 spec — or test endpoints live with your own API key in the API Playground.