Returns an OAuth authorization code for the user.
If successful, this endpoint will return a 200 OK status.
One of the following scopes are required to use this endpoint.
The following arguments are supported for this endpoint.
Name | Type | Default Value |
---|---|---|
user Required |
User Lookup | None |
properties Required |
OAuth authorization request | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
No user was found matching any of the criteria provided in the arguments |
404 Not Found |
When the request is successful, you can expect an object matching the specification below to be returned.
{ oauth_authorization_code: String? }