cURL
curl --request POST \ --url https://api.comm.com/api/v1/sms/routing/test-sms \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "sms_route_id": 123, "phone_number": "<string>", "content": "<string>", "sender_id": "<string>" }'
{ "success": true, "message": "Test SMS submitted to queue", "sms_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Test SMS submitted to queue"