Authentication
You'll need to authenticate your requests to access any of the endpoints in the Benefits Cliffs API. In this guide, we'll look at how authentication works. You will need to authenticate with an OAuth2 token.
OAuth2 with bearer token
When establishing a connection using OAuth2, you will need your access token — you will find it in the Developer Dashboard under API Keys. Here's how to add the token to the request header using cURL:
Example request with bearer token
curl https://api.benefitscliffs.org/me \
-H "Authorization: Bearer {token}"
Always keep your token safe and reset it if you suspect it has been compromised.