Get OAuth Token

Beta
This endpoint allows you to generate a temporary OAuth token required to authenticate requests to the Powered by APIs. Franchises support a single OAuth token. Generating a new OAuth token will invalidate the previous OAuth token.

Authentication

X-Auth-Clientstring
The client ID of the franchise API account.

Request

durationdoubleRequired

Response

Success
access_tokenstring>=1 character
expires_atstring>=1 character

Errors

401
Unauthorized Error
403
Forbidden Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error