Skip to content

Send SMS OTP

POST
/api/v1/auth/sms/send
curl --request POST \
--url https://api.parasta.io/api/v1/auth/sms/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "verification_id": "vid_abc123", "phone": "01012345678" }'

Send SMS verification code to the user’s phone.

Media type application/json
object
verification_id
required

ID from identity verification

string
phone
required

Target phone number

string
Example
{
"verification_id": "vid_abc123",
"phone": "01012345678"
}

OK

Media type application/json
Example
{
"status": "ok",
"data": {
"sent": true,
"expires_in": 180
}
}