Create Authorization Token
Generates a temporary token
GET
/v3/users/{userId}/authorize
Request
The details below help you form your HTTP requests to this endpoint.
Headers
You may need to provide specific headers.
Name
Type
Required
Description
x-consumer-custom-id
string
Consumer data with the format "channel:vendorId"
Path Parameters
The endpoint path expects parameters.
Name
Type
Required
Description
userId
string
N/A
Response
The details below help you understand the responses you could get from this endpoint.
Samples
Below are samples of responses, with tabs corresponding to returned status code.
{
"data": {
"token": "\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1YTk..."
}
}
Schema
The response's schema is outlined below.
Name
Type
Required
Description
data
object
N/A
data.token
string
Customer's authentication token
Last updated
Was this helpful?