User twitter token exchange
POST/user/auth/metadata
User twitter token exchange
Request
- application/json
Body
username string
Username
type string
Metadata type
data string
Metadata data
provider string
Provider
Responses
- 200
- 400
- 401
- 403
- 429
Auth token created successfully
- application/json
- Schema
- Example (from schema)
Schema
AccessToken string
IdToken string
ExpiresIn number
RefreshToken string
TokenType string
{
"AccessToken": "string",
"IdToken": "string",
"ExpiresIn": 0,
"RefreshToken": "string",
"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...