Generate Access Token

This endpoint uses your Yotpo Store ID (app_key) and API secret to generate the API access token necessary to authenticate most of Yotpo's API calls. Learn how to find your store ID (app_key) and API secret in Finding your Yotpo app key and API secret.

Recipes
🔑
Authenticate and make your first call
Open Recipe
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Please note:

Once you've generated your token, remember to store it so you can reuse it for future API calls. If your token expires and you get a 401 error code, you'll need to generate a new token.

🔁

One token for V3 and V1

This token also authenticates Reviews V1 and Core V1 calls: send it in the X-Yotpo-Token header. The older V1 token endpoint, POST https://api.yotpo.com/oauth/token with client_id, client_secret and grant_type: client_credentials, returns the same token, so existing V1 integrations keep working. See About authentication.

Path Params
string
required

Your store ID (app key)

Body Params
string
required

Also referred to as API secret

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json