custom_messages
Get Custom Message By Id
Get the custom message by its ID
get/api/v1/custom_messages/{custom_message_id}
Path parameters
custom_message_idinteger required
Response
Successful Response
Example response
{
"name": "Customer service greeting",
"preamble": "If this is an emergency, please hang up and call 911.",
"text": "Hello and thank you for calling customer service. How can I help you today?",
"subject": "Your appointment reminder",
"label": "Customer service",
"rules": [
{
"date": "2025-01-01",
"description": "Closed on New Year's Day",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed today.",
"time_range_end": "17:00",
"time_range_start": "09:00"
},
{
"days_of_week": [
"sa",
"su"
],
"description": "Closed on weekends",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed on weekends.",
"time_range_end": "17:00",
"time_range_start": "09:00"
}
],
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"agent_count": 1,
"last_updated_by": "user@email.com"
}