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": "dac9477a-afc3-41e9-b844-19435df28e66",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "t11fc",
"description": "Updated description",
"position": 1,
"created_at": "2025-12-18T18:56:06.100-08:00",
"updated_at": "2025-12-18T18:56:07.857-08:00",
"communication_type_id": "f838f650-c625-406f-8e58-dc7858a71398",
"communication_type": {
"data": {
"id": "f838f650-c625-406f-8e58-dc7858a71398",
"type": "communications_types",
"attributes": {
"name": "80o7f",
"slug": "80o7f",
"description": "In a totam asperiores.",
"color": "#F5D9C4",
"position": 1,
"created_at": "2025-12-18T18:56:06.092-08:00",
"updated_at": "2025-12-18T18:56:06.092-08:00",
"communication_groups": [],
"communication_templates": [
{
"id": "dac9477a-afc3-41e9-b844-19435df28e66",
"name": "Updated Template Name"
},
{
"id": "bfd7b665-aa97-447d-82a0-fdbfa1e06ae5",
"name": "yl6tj"
},
{
"id": "8dbe66e8-3c2c-497e-81a4-6a28f26a024b",
"name": "2hw5w"
},
{
"id": "818b6caa-1fa1-43ac-b60d-2c20a2ef8112",
"name": "hjiof"
},
{
"id": "deac7e8e-9e27-4cb4-b26f-2cf9865390e1",
"name": "svvg7"
},
{
"id": "4f8f7f1e-b620-4494-a64f-ec0862f3d78a",
"name": "dhmse"
},
{
"id": "632b26e6-5488-49ee-8a20-10d2e723d73b",
"name": "jjos1"
},
{
"id": "7745d287-57d2-472e-98eb-ee0cf24b4acb",
"name": "61dcs"
},
{
"id": "1da9cfd5-bf83-46d7-9198-d5c333e1b738",
"name": "c7w83"
},
{
"id": "995733fe-67f0-436f-acd3-e0e622ce94c2",
"name": "yzixw"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "287481fd-b58b-44fa-9146-8ce4c51f9d52",
"type": "communications-template_stages",
"attributes": {
"email_body": "Rerum velit labore consequatur.",
"email_subject": "yfm4hghdk0",
"slack_content": "Dicta qui qui adipisci.",
"sms_content": "Officiis mollitia sed labore.",
"created_at": "2025-12-18T18:56:06.108-08:00",
"updated_at": "2025-12-18T18:56:06.108-08:00",
"communication_stage": {
"id": "cc4e6055-4e56-4ebb-930c-9dc0cada13e8",
"name": "26dee"
},
"communication_template": {
"id": "dac9477a-afc3-41e9-b844-19435df28e66",
"name": "Updated Template Name"
}
}
}
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Communications Template ID
Show child attributes
communications template updated
Show child attributes
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": "dac9477a-afc3-41e9-b844-19435df28e66",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "t11fc",
"description": "Updated description",
"position": 1,
"created_at": "2025-12-18T18:56:06.100-08:00",
"updated_at": "2025-12-18T18:56:07.857-08:00",
"communication_type_id": "f838f650-c625-406f-8e58-dc7858a71398",
"communication_type": {
"data": {
"id": "f838f650-c625-406f-8e58-dc7858a71398",
"type": "communications_types",
"attributes": {
"name": "80o7f",
"slug": "80o7f",
"description": "In a totam asperiores.",
"color": "#F5D9C4",
"position": 1,
"created_at": "2025-12-18T18:56:06.092-08:00",
"updated_at": "2025-12-18T18:56:06.092-08:00",
"communication_groups": [],
"communication_templates": [
{
"id": "dac9477a-afc3-41e9-b844-19435df28e66",
"name": "Updated Template Name"
},
{
"id": "bfd7b665-aa97-447d-82a0-fdbfa1e06ae5",
"name": "yl6tj"
},
{
"id": "8dbe66e8-3c2c-497e-81a4-6a28f26a024b",
"name": "2hw5w"
},
{
"id": "818b6caa-1fa1-43ac-b60d-2c20a2ef8112",
"name": "hjiof"
},
{
"id": "deac7e8e-9e27-4cb4-b26f-2cf9865390e1",
"name": "svvg7"
},
{
"id": "4f8f7f1e-b620-4494-a64f-ec0862f3d78a",
"name": "dhmse"
},
{
"id": "632b26e6-5488-49ee-8a20-10d2e723d73b",
"name": "jjos1"
},
{
"id": "7745d287-57d2-472e-98eb-ee0cf24b4acb",
"name": "61dcs"
},
{
"id": "1da9cfd5-bf83-46d7-9198-d5c333e1b738",
"name": "c7w83"
},
{
"id": "995733fe-67f0-436f-acd3-e0e622ce94c2",
"name": "yzixw"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "287481fd-b58b-44fa-9146-8ce4c51f9d52",
"type": "communications-template_stages",
"attributes": {
"email_body": "Rerum velit labore consequatur.",
"email_subject": "yfm4hghdk0",
"slack_content": "Dicta qui qui adipisci.",
"sms_content": "Officiis mollitia sed labore.",
"created_at": "2025-12-18T18:56:06.108-08:00",
"updated_at": "2025-12-18T18:56:06.108-08:00",
"communication_stage": {
"id": "cc4e6055-4e56-4ebb-930c-9dc0cada13e8",
"name": "26dee"
},
"communication_template": {
"id": "dac9477a-afc3-41e9-b844-19435df28e66",
"name": "Updated Template Name"
}
}
}
}
]
}
}
}