Obtain an Authorization Code

POST {{baseUrl}}/oauth/authorize?response_type=code&state={{state}}&client_id={{client_id}}&scope={{scope}}&redirect_uri={{redirect_uri}}

The authorization code is a temporary code that the client will exchange for an access token. The code itself is obtained from the authorization server where the user gets a chance to see what the information the client is requesting, and approve or deny the request.

Request Params

KeyDatatypeRequiredDescription
response_typestring[REQUIRED] the value of this should always be: code
statestring[Optional] An opaque value, used for security purposes. If this request parameter is set in the request, then it is returned to the application as part of the redirect_uri.
client_idstring[REQUIRED]
scopestring[REQUIRED] Must be scope registered to your application.
redirect_uristring[REQUIRED] Must be a URL registred to you application. A successful response from this endpoint results in a redirect to this URL.