GET /twofactorauth/sms/{phone}
Send SMS token to the specified phone number for 2FA verification
Send SMS token to the specified phone number for 2FA verification
Key | Type | Example | |
---|---|---|---|
:phone required | string |
"example-phone"
|
Key | Type | Example | |
---|---|---|---|
authorization required | string |
"Bearer your-jwt-token"
|
{
"token": "example-string"
}
{
"success": false,
"error": "HTTP_401",
"message": "Error response"
}
Error Code | Description |
---|---|
HTTP_401 | HTTP 401 error |
permission | description |
---|---|
BearerAuth |
JWT access token obtained from login endpoint required |
Back to Two-Factor Authentication Return to the Two-Factor Authentication category to view other endpoints All API Categories Browse all available API categories