v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBVoices
Send a voice code
Sends an outbound voice call verification code.
post/voices
Request body
Example request
{
"to": "+16315551111",
"verificationCode": "123456",
"language": "en",
"callbackUrl": "https://httpbin.org/anything?tag=api-voice"
}Response
The request is successfully accepted.
Example response
{
"to": "+16315551111",
"verificationCode": "123456",
"language": "en",
"regionCode": "US",
"totalSegments": 1,
"totalPrice": 0.05,
"currency": "USD",
"status": "sent",
"createTime": "2022-03-01T12:00:00.000Z",
"updateTime": "2022-03-01T12:00:00.000Z",
"callbackUrl": "https://httpbin.org/anything?tag=api-voice",
"bizType": "voice",
"verificationId": "VERIFICATION-ID"
}