Authorize an OAuth Token

POST {{baseUrl}}/v1/oauth/authorize

The operation issues an OAuth code which can be used in the OAuth code flow.

Request Body

{"client_id"=>"7a3c52a910e1dc2abbb14da2b6b8e711", "client_secret"=>"bbb14da2b6b8e7117a3c52a910e1dc2a", "redirect_uri"=>"http://localhost", "scope"=>"general", "account_id"=>"0d18ae51-3c94-4511-b209-101e1666416b"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"code":"0duts51intUt","client_id":"7a3c52a910e1dc2abbb14da2b6b8e711","redirect_uri":"http://localhost","scope":"general"}