SMS quickstart
Send your first text message in a few minutes.
Before you begin
- An API token and tenant ID — see Getting started.
- Your server's IP whitelisted in the portal.
- An approved sender ID (
Source) and your integrationApiId.
Send a message
curl -X POST "https://omni-apis.montymobile.com/notification/api/v1/sms/send-sms" \
-H "api-key: <Your_API_Key>" \
-H "Tenant: <Tenant_ID>" \
-H "Content-Type: application/json" \
-d '{
"Destination": "<Recipient_Phone_Number>",
"Source": "<Source_Number>",
"Message": "Hello from Monty Mobile!",
"ApiId": "<Api_Id>"
}'
A successful response
json
{
"message": "Success",
"code": "8_10_200",
"success": true,
"data": { "messageId": "329e121b-aa8e-47e7-ae30-be8a40a38d4a", "errorCode": 0, "description": null },
"version": "1"
}
The messageId identifies your message for tracking. A non-zero errorCode means the send was rejected — see Error codes.