Skip to main content
GET
/
oauth
/
authorize
cURL
curl --request GET \
  --url https://sandbox.onconsul.com/v1/oauth/authorize \
  --header 'Authorization: Bearer <token>'
{
  "redirect_url": "<string>"
}
Start the OAuth authorization code flow. Redirect the user to Consul’s authorization page where they grant your app access to their account. On approval, Consul redirects back with an authorization code.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

response_type
string
client_id
string
redirect_uri
string<uri>
scope
string
state
string

Response

OK

redirect_url
string<uri>
required