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.

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
}
Language
Click Try It! to start a request and see the response here!