Authentication
You'll need to authenticate your requests to access any of the endpoints in the Offerte Adviseur API. In this guide, we'll look at how authentication works. Offerte Adviseur uses a bearer token to authenticate your API requests.
Use API token
To use the Offerte Adviseur API you need to have an user account on the website. If you don't yet have an account, you can create one here. Once you have an account, please contact us to request API credentials.
Test your token
You can use this ping endpoint to test if your token is working correctly.
Always keep your token safe and reset it if you suspect it has been compromised.
Request
GET
/v1/pingcurl https://app.offerteadviseur.nl/api/v1/ping \
-H "Authorization: Bearer eyJ..." \
-H "Accept: application/json"
Successfull Response
{
"result": "pong"
}
Error response
{
"type": "api_unauthenticated",
"message": "Unauthenticated",
"documentation_url": "https://docs.app.offerteadviseur.nl/authentication",
}