Request a partner token
POST/v0/partner-token
Request a Partner Token
Request
- application/json
Body
Token request
accessKeyId stringrequired
accessKeySecret stringrequired
Responses
- 201
- 400
- 401
- 429
User access token
- application/json
- Schema
- Example (from schema)
- Example
Schema
accessToken stringrequired
{
"accessToken": "string"
}
{
"accessToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJwYXJ0bmVyIiwiaXNzIjoiRXBpZGVtaWMgU291bmQiLCJwYXJ0bmVySWQiOiJlcGlkZW1pY3NvdW5kIiwiZXhwIjoxNjIwMTA4OTg0fQ"
}
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Bad request"
}
Unauthorized. Most likely your access token has expired.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Loading...