Send SMS code
POST /api/2.0/authentication/sendsms
Request
Sends SMS with an authentication code.
Headers
- Accept
enum of string
Can be one of:
application/json
.- Content-Type
enum of string
Can be one of:
application/json
.
Body
- userName
string
User name or email
- password
string
Password
- provider
string
Social media provider type
- accessToken
string
Provider token
Examples
POST /api/2.0/authentication/sendsms HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: example.com
curl --request POST \
--url https://example.com/api/2.0/authentication/sendsms \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
200
Authentication data: authentication by SMS or not, phone number, SMS expiration time
- Token
string
- Expires
string
- Sms
boolean
- PhoneNoise
string
- Tfa
boolean
- TfaKey
string