Skip to main content
POST
/
auth
/
verify-sms
Verify Sms Code
curl --request POST \
  --url https://api-dev.monyfix.tech/auth/verify-sms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "<string>",
  "sms_code": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_at": 123,
  "refresh_token": "<string>",
  "refresh_token_expires_at": 123,
  "token_type": "Bearer"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
phone
string
required
sms_code
string
required

Response

Successful Response

access_token
string
required
expires_at
integer
required
refresh_token
string
required
refresh_token_expires_at
integer
required
token_type
string
default:Bearer