API Reference
API Authentication
Creating an API key in the dashboard and authenticating requests.
The Silux Call API is for server-to-server use: click-to-call from your own CRM, plus your call history and call recordings. It is included on Plus, Growth, Pro and Enterprise; on Entry, add API access for £2.50 a month from Features & add-ons.
Creating an API key
In the dashboard, open API from the menu, give the key a name such as "Our CRM" and press Create key. Only account admins can create or revoke keys, and an account can have up to 10 active keys.
The key begins sk_live_ and is shown once and only once. We store a SHA-256 hash, so we cannot show it to you again. If you lose it, revoke it and create another.
An API key can start calls on your account. Keep it in a secrets manager or environment variable on your server, never in a web page, an app or a public repository.
Using a key
Send it in the Authorization header (or as X-Api-Key):
curl https://www.siluxcall.co.uk/api/v1/calls?limit=50 \
-H "Authorization: Bearer sk_live_..."Revoking
Press Revoke next to the key on the API page. It stops working immediately. Rotate keys by creating the replacement, deploying it, then revoking the old one, so you never have a gap.
Limits
| Limit | Value |
|---|---|
| Requests per key | 10,000 a day (resets at midnight UTC) |
| Click-to-call per key | 20 calls a minute |
| Calls at the same time | Your plan's calls-at-once limit |
| Numbers you can call | UK landlines, mobiles and freephone |
Errors
| Status | code | Meaning |
|---|---|---|
| 401 | invalid_api_key | Missing, wrong or revoked key |
| 403 | not_in_plan | The API is not in your plan (Plus and above, or the £2.50 add-on on Entry) |
| 429 | daily_limit / too_many_calls | A limit was reached; wait and retry |