Authentication

You'll need to authenticate your requests to access any of the endpoints in the WonderDays API. In this guide, we'll look at how authentication works.

Bearer token

When establishing a connection, you will need your bearer access token — you can generate one on the profile page in the partner dashboard.

Here's how to add the token to the request header using cURL:

Example request with bearer token

curl https://wonderdays.co.uk/v1/... \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.