Send SMS Estimated reading: 2 minutes 4 views Overview This API allows you to send international SMS messages via the Your Domain (pingtochat.com) service. It is useful for businesses looking to reach users across different countries with messages such as alerts, notifications, OTPs, or promotional content. URL https://{{your_domain}}/api/v1.0/{{key}}/sms Method POST Headers Content-Type: application/json Authorization: Bearer <your_access_token> Request PayloadsYour Domain (pingtochat.com) Sending a Text Message The payload for sending a plain text message via the WhatsApp API is structured as follows: Example : { "messaging_product": "sms", "to": [ "91xxxxxxxxxx" ], "senderId":"TXAAVY", "templateId":"p2c-rttoni", "bulkId": 1 } Field description FieldTypeDescriptionmessaging_productstringType of messaging product (must be "sms" for SMS sending).tostringRecipient’s mobile number in international format. E.g., "91xxxxxxxxxx".fromstringSender name or ID (e.g., "PINGTOCHAT").messagestringMessage content to be sent.templateIdintID of the predefined message template (if applicable).bulkIdintID for grouping multiple messages as a bulk operation. ✅ Success Response HTTP 200 OK { "status": "success", "message": "SMS Sent Successfully", "track_id": "xxxxxxx", "recipients": [ { "mobile_number": "91xxxxxxxxxx", "status": "sent", "error_code": null, "error_description": null, "time": "2025-12-18 11:55:01" } ] } ❌ Error Responses HTTP StatusMeaningSample Error Message400Bad Request"Invalid phone number format"401Unauthorized"Invalid API key"403Forbidden"Access denied"500Internal Server Error"Unexpected error occurred. Try again later"