Authentication
Every /client/v1 request sends Authorization: Bearer <API key>. An API key belongs to one workspace, so you never pass a workspace id - the key decides it.
1. Create an API key
In the ScaleBiss app open the workspace, then Build → Developer → API keys and click Create key. The key starts with
sb_and is shown once - store it in your secret manager. ScaleBiss only keeps a hash.- Each workspace can have a limited number of active keys; revoke one to free a slot.
- Revoking a key takes effect immediately.
- The key list shows when each key was last used.
2. Call the client API
Base URL:
https://api.scalebiss.com/client/v1.curl -X POST "https://api.scalebiss.com/client/v1/wp/message/send" \ -H "Authorization: Bearer sb_your_api_key" \ -H "Content-Type: application/json" \ -d '{"to":"919876543210","from":"15554013623","templateId":"42"}'
| Credential | Header | Accepted on |
|---|---|---|
| API key | Authorization: Bearer sb_… | All /client/v1 routes (recommended) |
| Access token | Authorization: Bearer eyJ… | Template send only, for existing integrations. The user must own the template's workspace or be a member of it. |
Rate limits
Service-message and Meta routes allow 60 requests per minute per key. Responses carry X-RateLimit-Limit and X-RateLimit-Remaining; over the limit you get 429 RATE_LIMITED.
Outbound webhooks
Receiving events from ScaleBiss does not use API keys. You configure a URL + secret in Developer → Webhook and verify the HMAC x-scalebiss-signature on your server. See the Webhooks guide.
Common auth errors
Access token is not provided- missing Authorization headerAPI_KEY_INVALID- key unknown or revokedAPI_KEY_REQUIRED- the route needs an API key, not an access tokenTOKEN_EXPIRED/TOKEN_REVOKED_OR_MISSING- access token no longer validWORKSPACE_ACCESS_DENIED- access-token user is not in the workspace
