Generate Access Token

Use this endpoint to generate an access_token using your OAuth 2.0 code. Learn more about OAuth 2.0 here.

Have you registered your app yet?

Before you start building your app on top of Yotpo’s App Developer API, you first need to register it with us. If you haven’t done so yet, refer to the steps in our Welcome Guide.

Body Params
string
required
Defaults to authorization_code

The grant_type for this request is authorization_code

string
required

The Application ID shared with you upon app registration

string
required

The Application Secret shared with you upon app registration

string
required

The redirect/callback URI provided upon app creation. Your token will be sent there

string
required

The OAuth 2.0 code granted via the installation link

Responses

Language
Credentials
OAuth2
Response
Choose an example:
application/json