curl --request POST \
--url https://secure.interactsms.com/api/v1/sendmessage \
--header 'Content-Type: application/json' \
--data '
{
"User": "YOUR_USERNAME",
"Password": "YOUR_PASSWORD",
"ApiId": 1234,
"To": "353861234567",
"Text": "Hello World",
"SenderId": "YourCompany"
}
'{
"status": "0\nRequest deferred successfully"
}JSON API (v1)
Send Message (JSON)
Sends an SMS message or schedules one for later delivery.
This endpoint always responds with HTTP 200; the status field describes
success or failure.
POST
/
sendmessage
curl --request POST \
--url https://secure.interactsms.com/api/v1/sendmessage \
--header 'Content-Type: application/json' \
--data '
{
"User": "YOUR_USERNAME",
"Password": "YOUR_PASSWORD",
"ApiId": 1234,
"To": "353861234567",
"Text": "Hello World",
"SenderId": "YourCompany"
}
'{
"status": "0\nRequest deferred successfully"
}Body
application/json
Request payload for sending or scheduling an SMS message.
Destination mobile number in international format.
Alphanumeric or shortcode sender.
Optional identifier used for delivery callback tracking.
Unix timestamp or 0 for immediate delivery.
Response
200 - application/json
API always returns HTTP 200. The status field contains success or error information.
Legacy JSON response. The status field contains the legacy status code and result message.