Updates a communications template
curl --request PATCH \
--url https://api.rootly.com/v1/communications/templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications-templates",
"attributes": {
"name": "<string>",
"description": "<string>",
"communication_type_id": "<string>",
"position": 123,
"communication_template_stages_attributes": [
{
"id": "<string>",
"sms_content": "<string>",
"email_subject": "<string>",
"email_body": "<string>",
"slack_content": "<string>"
}
]
}
}
}'
{
"data": {
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "jn5vp",
"description": "Updated description",
"position": 1,
"created_at": "2025-09-07T18:19:18.191-07:00",
"updated_at": "2025-09-07T18:19:20.968-07:00",
"communication_type_id": "fc2ff9c2-b88c-4e40-aed1-5e7aa82c5b69",
"communication_type": {
"data": {
"id": "fc2ff9c2-b88c-4e40-aed1-5e7aa82c5b69",
"type": "communications_types",
"attributes": {
"name": "axfoz",
"slug": "axfoz",
"description": "Aut sunt quisquam et.",
"color": "#D7E7F5",
"position": 1,
"created_at": "2025-09-07T18:19:18.175-07:00",
"updated_at": "2025-09-07T18:19:18.175-07:00",
"communication_groups": [],
"communication_templates": [
{
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"name": "Updated Template Name"
},
{
"id": "d8e086ab-efd7-4fd5-a0b5-cd7cbcf3adbd",
"name": "fxq7n"
},
{
"id": "937e6feb-b948-4aba-b6b8-38364136390c",
"name": "n5hn3"
},
{
"id": "9bf5854c-275c-4ee2-8fe2-58e7ec7bd94a",
"name": "0teck"
},
{
"id": "8612d274-e498-4015-93e7-8ea7f8040705",
"name": "2ytqg"
},
{
"id": "fc20aaa9-b9f5-4646-84a3-8e3d93b888b0",
"name": "fp9gn"
},
{
"id": "b629d538-38dc-47d7-ba33-2d404172bcb9",
"name": "gq9cp"
},
{
"id": "7b95cfdc-ef5b-47d1-9277-f0901c186347",
"name": "3cru7"
},
{
"id": "be8ec2bf-4509-4a33-9efe-9633a3819cde",
"name": "tksls"
},
{
"id": "501890f8-afa3-4398-9216-692fd51e0496",
"name": "k24uc"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "fba739d6-05f9-45e8-9a23-5c87eede9767",
"type": "communications-template_stages",
"attributes": {
"email_body": "Nulla voluptas culpa fugit.",
"email_subject": "nbhhqi8ai5",
"slack_content": "Ut adipisci est optio.",
"sms_content": "Cumque ea non qui.",
"created_at": "2025-09-07T18:19:18.204-07:00",
"updated_at": "2025-09-07T18:19:18.204-07:00",
"communication_stage": {
"id": "fe6b1c95-95a1-4ce9-8310-5a6e8683125a",
"name": "wfjve"
},
"communication_template": {
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"name": "Updated Template Name"
}
}
}
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Communications Template ID
communications template updated
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.rootly.com/v1/communications/templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications-templates",
"attributes": {
"name": "<string>",
"description": "<string>",
"communication_type_id": "<string>",
"position": 123,
"communication_template_stages_attributes": [
{
"id": "<string>",
"sms_content": "<string>",
"email_subject": "<string>",
"email_body": "<string>",
"slack_content": "<string>"
}
]
}
}
}'
{
"data": {
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "jn5vp",
"description": "Updated description",
"position": 1,
"created_at": "2025-09-07T18:19:18.191-07:00",
"updated_at": "2025-09-07T18:19:20.968-07:00",
"communication_type_id": "fc2ff9c2-b88c-4e40-aed1-5e7aa82c5b69",
"communication_type": {
"data": {
"id": "fc2ff9c2-b88c-4e40-aed1-5e7aa82c5b69",
"type": "communications_types",
"attributes": {
"name": "axfoz",
"slug": "axfoz",
"description": "Aut sunt quisquam et.",
"color": "#D7E7F5",
"position": 1,
"created_at": "2025-09-07T18:19:18.175-07:00",
"updated_at": "2025-09-07T18:19:18.175-07:00",
"communication_groups": [],
"communication_templates": [
{
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"name": "Updated Template Name"
},
{
"id": "d8e086ab-efd7-4fd5-a0b5-cd7cbcf3adbd",
"name": "fxq7n"
},
{
"id": "937e6feb-b948-4aba-b6b8-38364136390c",
"name": "n5hn3"
},
{
"id": "9bf5854c-275c-4ee2-8fe2-58e7ec7bd94a",
"name": "0teck"
},
{
"id": "8612d274-e498-4015-93e7-8ea7f8040705",
"name": "2ytqg"
},
{
"id": "fc20aaa9-b9f5-4646-84a3-8e3d93b888b0",
"name": "fp9gn"
},
{
"id": "b629d538-38dc-47d7-ba33-2d404172bcb9",
"name": "gq9cp"
},
{
"id": "7b95cfdc-ef5b-47d1-9277-f0901c186347",
"name": "3cru7"
},
{
"id": "be8ec2bf-4509-4a33-9efe-9633a3819cde",
"name": "tksls"
},
{
"id": "501890f8-afa3-4398-9216-692fd51e0496",
"name": "k24uc"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "fba739d6-05f9-45e8-9a23-5c87eede9767",
"type": "communications-template_stages",
"attributes": {
"email_body": "Nulla voluptas culpa fugit.",
"email_subject": "nbhhqi8ai5",
"slack_content": "Ut adipisci est optio.",
"sms_content": "Cumque ea non qui.",
"created_at": "2025-09-07T18:19:18.204-07:00",
"updated_at": "2025-09-07T18:19:18.204-07:00",
"communication_stage": {
"id": "fe6b1c95-95a1-4ce9-8310-5a6e8683125a",
"name": "wfjve"
},
"communication_template": {
"id": "20091641-d800-4010-9b1f-a57163eb5621",
"name": "Updated Template Name"
}
}
}
}
]
}
}
}