Dispatch a test SMS through the provisioned 10DLC carrier route
POST
/api/organizations/settings/sms/test
const url = 'https://example.com/api/organizations/settings/sms/test';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"toPhone":"+13344446464","message":"DCC Test Message: Telephony route verification."}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/organizations/settings/sms/test \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "toPhone": "+13344446464", "message": "DCC Test Message: Telephony route verification." }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
toPhone
required
Recipient phone number in E.164 format for test SMS delivery.
string
Example
+13344446464message
required
Text content of test SMS message.
string
Example
DCC Test Message: Telephony route verification.Responses
Section titled “Responses”Test SMS queued successfully
Invalid input or failed to queue SMS
Unauthorized
Forbidden