Send Single SMS
Send an SMS message to one mobile recipient.
Endpoint:
POST /messages/sendDescription: This endpoint sends an SMS to a list of phone numbers.
Request Parameters:
to(string, required): Recipient phone number in international format (e.g., +1234567890)message(string, required): The SMS text to send.sender_name(string, optional): Custom sender name (must be pre-registered).
Request Example:
bashCopy codePOST /messages/send HTTP/1.1
Host: api.celenity.com
Authorization: Bearer {API_KEY}
Content-Type: application/json
{
"to": "+1234567890",
"message": "Hello from Celenity!",
"sender_name": "MyApp"
}Response:
jsonCopy code{
"status": "success",
"message_id": "abc123",
"recipient": "+1234567890"
}Last updated