Authorization: Bearer ********************
{
"name": "string",
"description": "string",
"message_body": "string",
"canned_message_group_id": "string",
"allows_html": true,
"attachments": [
{
"temp_id": "string",
"date_created": "1s",
"date_modified": "1s",
"content_id": "string",
"width": "string",
"height": "string",
"name": "string",
"file_type": "string",
"path": "string",
"download_url": "string",
"omni_attachment_sid": 0,
"file_size": 0
}
]
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/omniapi/createcannedmessage' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"message_body": "string",
"canned_message_group_id": "string",
"allows_html": true,
"attachments": [
{
"temp_id": "string",
"date_created": "1s",
"date_modified": "1s",
"content_id": "string",
"width": "string",
"height": "string",
"name": "string",
"file_type": "string",
"path": "string",
"download_url": "string",
"omni_attachment_sid": 0,
"file_size": 0
}
]
}'
{
"date_created": "1s",
"last_updated": "1s",
"canned_message_id": "string",
"name": "string",
"description": "string",
"message_body": "string",
"canned_message_group_id": "string",
"allows_html": true,
"attachments": [
{
"temp_id": "string",
"date_created": "1s",
"date_modified": "1s",
"content_id": "string",
"width": "string",
"height": "string",
"name": "string",
"file_type": "string",
"path": "string",
"download_url": "string",
"omni_attachment_sid": 0,
"file_size": 0
}
]
}