v1

latestOpenAPI 3.0.02026-08-0645062.8 KB

Authorize user

Authorize the user and generate an authorization code.

get/oauth/authorize

Query parameters

client_idstring required
Example:client-123
redirect_uristring required
Example:https://example.com/callback
statestring required
Example:state-123
response_typestring required
Example:code

Response

Authorization code generated successfully

locationstring

Example response

{
  "location": "https://example.com/callback?code=authcode&state=state-123"
}