Get Access Token v2

Either:

  1. Exchanges an authorization_code for an access_token, or
  2. Exchanges a refresh_token for an access_token.
    See Refresh Tokens for how this works
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

📘

This endpoint is part of the OAuth Authorization flow, visit OAuth Authorization to learn more.

Form Data
string
required

ID assigned by Yelp for the third-party system that will make user-authorized requests to Yelp.

string
required
length between 64 and 64

Client secret assigned by Yelp for the third-party system that will make user-authorized requests to Yelp.

string
enum
required

Value MUST be set to "authorization_code".

Allowed:
string
required

Authorization code that is sent back to the redirect uri after a biz user authorized the client's oauth client.

string

REQUIRED, if the "redirect_uri" parameter was included in the authorization request and their values MUST be identical.

Responses

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