This API is used to generate Access and Refresh tokens using one the time verification code received in the authorization request. These needs to be secured safely on the client side.

Log in to see full request history

Example Response
After a successful call, the API will return a response similar to the below structure.

{ "access_token": "53fadd2d93caf1e539d8d031a13d63947d22e5a05c56b37571f78124b01800ca", "token_type": "Bearer", "expires_in": 86400, "refresh_token": "ffe5452e9f7bf811011950138d0f948a73d1d0d1b5b8b1556873687d716d9cd6", "scope": "locations orders menus", "created_at": 1665420513 }
Body Params
string
required

Client Id received after creating App

string
required

Client Secret received after app submission

string
required
Defaults to authorization_code
string
required

The redirect/callback URI registered with the application

string
required

The one time verification/authentication code received in the authorization request.

Responses

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