For apps that many merchants install: exchange the temporary code from the merchant's install for an access token. See Authenticating with OAuth 2.0. To integrate one store you work on directly, use Generate access token with that store's API secret instead.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Have you registered your app yet?You need an app ID and secret before you can call this endpoint. See Registering your integration.
Send the access_token from the response in the X-Yotpo-Token header of every other request. The token is per store: a merchant with several Yotpo stores installs your app on each one, and you get a separate token for each.
Send client_id and client_secret in the request body as JSON or form fields. An Authorization: Basic header isn't read. The error bodies for this endpoint aren't valid JSON: see Errors.
