Skip to main content
Each API key is granted a set of scopes by Codaclean. Every endpoint requires one scope, shown on its reference page. A call without the required scope returns 403 with the code forbiddenScope.

Default scopes

Unless Codaclean has configured it otherwise, an API key has only two read scopes: customers:read and files:read. mandates:read and all write and delete scopes are always granted explicitly. Without mandates:read, POST /mandates and GET /mandates/{mandateId} return 403 forbiddenScope. To get more scopes, contact Codaclean.

Restrictions by the accounting firm

An accounting firm can restrict the scopes your API key has for its own data. It can only narrow them, never extend them. When the firm removes a scope, calls that need it return forbiddenScope for that firm’s users only.
Scope changes take effect within about a minute.

Endpoints without a scope

POST /token and GET /hello do not require any scope.