Send SMS Notification
Send an SMS notification to a specific contact
Path parameters
app_idstringRequired
Application ID
Header parameters
X-API-KEYstringRequired
Your API key
X-SECRET-KEYstringRequired
Your Secret key
Body
_idstringOptional
Unique Gleantap Contact ID for personalization
to_numberstringRequired
Recipient phone number with country code
messagestringRequired
SMS message content
from_numberstringOptional
Sender phone number (optional)
Responses
200
SMS sent successfully
application/json
400
Invalid request parameters
401
Unauthorized - Invalid API credentials
500
SMS sending failed
post
POST /v2/ExternalApi/sendSmsNotification/{app_id} HTTP/1.1
Host: api.gleantap.com
X-API-KEY: text
X-SECRET-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"_id": "text",
"to_number": "text",
"message": "text",
"from_number": "text"
}
{
"status": true,
"message": "text",
"phone": "text",
"from": "text",
"service_type": "twilio",
"service_message_id": "text"
}
Last updated