Skip to main content
POST
Create authorization for a user

Authorizations

Authorization
string
header
required

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

Body

application/x-www-form-urlencoded
user_id
string

Internal user id (personId). Any user can use this endpoint with their own user_id, other use cases requires special permissions.

external_user_id
string

External user id (externalSourceId for person).

Response

200 - application/json

OK

code
string

Authorization code that can be used in a request to /oauth/token