Authentication API
Owner, AdminLast checked 25 November 20261 min readArticle ID:
developers-api-authenticationOn this page
1 endpoint for authentication: exchange client credentials for an access token.
Exchange client credentials for an access token
POST /api/v1/oauth/token
OAuth 2.0 client-credentials grant (RFC 6749 section 4.4). Authenticate with HTTP Basic (client_id:client_secret) or put client_id and client_secret in the body, not both. The token lives 1 hour and carries the app's scopes. The response is Cache-Control: no-store. Every credential failure is the same invalid_client (401). Limited per client and per IP, so cache and reuse the token.
Scope: none
Request body
| Field | Type | Required | Description |
|---|---|---|---|
grant_type | client_credentials | yes | |
client_id | string | Send either these two fields or an HTTP Basic Authorization header, never both (invalid_request). | |
client_secret | string |
{
"grant_type": "client_credentials",
"client_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
"client_secret": "your-client-secret"
}
Response: 200 A bearer token.
{
"access_token": "your-access-token",
"token_type": "Bearer",
"expires_in": 0,
"scope": "read:jobs"
}
Errors: 400, 401, 429, 503. See Errors.
In this section
- Change a job's status
- Create a job and book a visit from your own system
- Push leads from your website into Skeduler
- Read a job's notes
- Read technicians' leave and time blocks
- Record a payment on an invoice
- API reference
- Contacts API
- Credit Notes API
- Customers API
- Estimates API
- Invoices API
- Jobs API
- Payments API
- Schedule blocks API
- Technicians API
- Visits API
- Webhooks API
- Customers or contacts, which endpoint do I use?