Authentication

You will need to authenticate using your secret key to use the API.

Authenticating

All API requests will require an Authorization header that includes your secret key as the Bearer token.

$ curl https://api.clients.icaal.co.uk/scopes \
    -H 'Authorization: Bearer sk_xxxxxxxx' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'

You will receive a 401 response code if the request has not been authenticated.

List Scopes

GET https://api.clients.icaal.co.uk/scopes

List the permission scopes available for the authenticated account.

Headers

Name
Type
Description

Authorization

string

Authenticate using the bearer token.

[
    "leads:list",
    "leads:create",
    "leads:update",
    "users:list"
]

Last updated