A token that is returned to your application when a user completes the OAuth flow and may be used to authenticate requests. Learn more about OAuth here.
You may use this token in place of an API key to make OAuth requests on a user's behalf.
The type of OAuth token.
A constant representing the object's type. For this resource it will always be oauth_token
.
The public identifier for your application.
The secret that confirms you own the application. This is redundent given that the request is made with your API key but it's a required component of OAuth 2.0.
The authorization code generated by the user and given to you as a query parameter.
The credential you request in exchange for the code. In Production, this is always authorization_code
. In Sandbox, you can pass either enum value.
The production token you want to exchange for a sandbox token. This is only available in Sandbox. Set grant_type
to production_token
to use this parameter.