Skip to main content

Method

POST /v1/verify/sms/start

Body Parameters

Headers

Authorization
string
Bearer token (e.g. Authorization: Bearer YOUR_API_KEY)
content-type
string
application/json

Request Example

curl -X POST https://api.voyantcloud.com/v1/verify/sms/start \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "phone": "+40700000000" }'

Response

{
  "ok": true,
  "expiresAt": "2025-03-01T12:35:42.000Z"
}
Codes are stored hashed and expire after five minutes. Configure SMS_SENDER_ID and your Trigger.dev SMS workflow to deliver messages in production.