When using the API all requests must be performed with an authorized request. This document described how to receive your Access Token.

Authentication endpoint

The live authentication endpoint can be accessed via:

The staging authentication endpoint can be accessed via:

This endpoint need to be called with the application/x-www-form-urlencoded Content-Type header using the POST method. Use the following curl request as reference.

<?phprequire 'vendor/autoload.php';const CLIENT_ID = '';const CLIENT_SECRET = '';$client = \Boekuwzending\ClientFactory::build(CLIENT_ID, CLIENT_SECRET);# The PHP SDK will handle Access Tokens automatically.
CLIENT_ID= # Your Client IDCLIENT_SECRET= # Your Client Secretcurl '' \--request POST \--header "Content-Type: application/x-www-form-urlencoded" \--data "client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET&grant_type=client_credentials"# The `access_token` from the response must be used in all API request.