User twitter token exchange
POST/user/auth/exchangeTwitterToken
User twitter token exchange
Request
- application/json
Body
accessToken stringrequired
Twitter access token
accessTokenSecret stringrequired
Twitter access token secret
Responses
- 200
- 400
- 401
- 403
- 429
Auth token created successfully
- application/json
- Schema
- Example (from schema)
Schema
AccessToken string
RefreshToken string
IdToken string
ExpiresIn number
TokenType string
{
"AccessToken": "string",
"RefreshToken": "string",
"IdToken": "string",
"ExpiresIn": 0,
"TokenType": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Too Many Requests"
}
Loading...