Authentication
You'll need to authenticate your requests to access any of the endpoints in the EmbedMyReviews API. In this guide, we'll look at how authentication works. All requests made to the API must have a valid API token and the correct permissions for the resource.
API token
You will need to create a API token by going to Agency Settings -> API & Webhooks. When establishing a connection to the API, you will need your API token. Here's how to add the token to the request header using cURL:
Example request with bearer token
curl https://your-whitelabel-domain.com/api/v1/request-reviews/campaigns/{campaign}/invite \
-H "Authorization: Bearer {token}"
Always keep your token safe and reset it if you suspect it has been compromised.