v1

latestOpenAPI 3.1.02026-07-26620219.6 KB

Generate Access Token

Use this endpoint to generate an access_token using your OAuth 2.0 code. Learn more about OAuth 2.0 <a href="https://develop.yotpo.com/docs/getting-started" target="_blank">here</a>.

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 <a href="https://develop.yotpo.com/docs/welcome" target="_blank">Welcome Guide</a>.

post/v2/oauth2/token

Request body

grant_typestring required

The grant_type for this request is authorization_code

client_idstring required

The Application ID shared with you upon app registration

client_secretstring required

The Application Secret shared with you upon app registration

redirect_uristring required

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

codestring required

The OAuth 2.0 code granted via the installation link

Response

200

All 62 operations