Skip to main content
The Secfix Public API uses the OAuth 2.0 client credentials grant. Exchange your API key’s client_id and client_secret for a bearer access token. Then send that token with every request.

Get a token

Response
The token request can fail with:

Call the API

Send the token in the Authorization header:

One active token per API key

Each API key has one active token at a time. When you request a new token or rotate the secret, the previous token stops working. Requests with it return 401 token_superseded. Fetch a token, reuse it until it expires, and fetch a new one when you get a 401.

Workspace

A token is bound to the workspace of its API key when it is issued. You only see that workspace’s data. The API ignores any workspace value you send in a request.