Send an outbound SMS or MMS message
Sends a text, image, or video message through the workspace phone number and saves the outbound message to LiveChat history.
POST
https://api.channelautomation.com/send-smsAuthorization
Header parameters
Request body JSON required
Example requests
{
"to": "+1234567890",
"message": "Hello! This is a test message.",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000"
}{
"to": "+1234567890",
"message": "Hi {{firstName}}, your appointment on {{appointmentDate}} is confirmed!",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "456e7890-e89b-12d3-a456-426614174001"
}{
"to": "+1234567890",
"message": "Check out this awesome product!",
"mediaUrl": "https://example.com/product-image.jpg",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"campaignId": "789e1234-e89b-12d3-a456-426614174002"
}{
"to": "+1234567890",
"message": "Reminder: Your appointment is tomorrow at 2 PM",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"scheduledTime": "2024-02-15T14:00:00Z",
"priority": "high"
}Returns
200
Message sent and saved successfully.
