Click here to access the web documentation of the API.
Click here to download the API collection (swagger.json).
To access the protected API endpoints, follow the authentication flow below:
You must make a request to the /authorization endpoint to generate the authentication token. This token will be used to validate your future requests.
Endpoint: POST /authorization
Expected Response:
{
"token": "your_token_here"
}
After obtaining the access token, include it in the request headers to the protected endpoints:
AuthorizationBearer <your_token_here>Header Example:
The API will verify the token sent. If the token is invalid, expired, or missing, the request will be rejected with HTTP status code 403 Forbidden.
curl -X GET "https://oakberry.com/example_endpoint" -H "Authorization: Bearer your_token_here"
Make sure to keep the token secure and renew it as needed.