Skip to content
On this page

Getting Started

Access Tokens

You will get the access token from us. (JWT)
Don't have one? Contact us

WARNING

Please use this token only for server to server comunication. Don't use it for api requestes on the client.

Once you have your access token, there are two ways to pass it to the API, via the access_token query parameter, or in the request's Authorization Header.

Query Parameter

?access_token=<token>

Authorization Header

Authorization: Bearer <token>

Endpoints

REST

https://bcpro.be/cms

GraphQL

https://bcpro.be/cms/client/graphql

Rate Limiting

Up to 20 requests per second are allowed.

WARNING

The request must be completed within 5 seconds, otherwise it will be aborted.

Error Codes

Error CodeHTTP StatusDescription
INVALID_CREDENTIALS401Username / password or access token is wrong
TOKEN_EXPIRED401Provided token is valid but has expired
ROUTE_NOT_FOUND404Endpoint does not exist
REQUESTS_EXCEEDED429Hit the rate limit
SERVICE_UNAVAILABLE503Could not use external service