Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Communications Template ID
Body
application/vnd.api+json
Response
communications template updated
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": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "74j0y",
"description": "Updated description",
"position": 1,
"created_at": "2025-10-18T00:48:55.832-07:00",
"updated_at": "2025-10-18T00:48:58.268-07:00",
"communication_type_id": "5643a27e-8720-47cc-a126-6b407d557927",
"communication_type": {
"data": {
"id": "5643a27e-8720-47cc-a126-6b407d557927",
"type": "communications_types",
"attributes": {
"name": "gzxsh",
"slug": "gzxsh",
"description": "Similique quo fugit vero.",
"color": "#F5D9C4",
"position": 1,
"created_at": "2025-10-18T00:48:55.817-07:00",
"updated_at": "2025-10-18T00:48:55.817-07:00",
"communication_groups": [],
"communication_templates": [
{
"id": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"name": "Updated Template Name"
},
{
"id": "a1a63124-72d9-4b8d-ad52-c2e678448b3a",
"name": "j17k9"
},
{
"id": "1e41111e-87e6-45f5-847c-7b759d1afd2c",
"name": "k7ez9"
},
{
"id": "cf426ed2-3519-4572-aa08-6293b756dfeb",
"name": "5xf4g"
},
{
"id": "b3aa3d92-606e-4c94-85ca-2c833ee09a06",
"name": "imiu8"
},
{
"id": "ae00a073-277e-4c27-9a7f-f78b0fd6e72c",
"name": "sbwen"
},
{
"id": "9bdb7428-7053-4860-9f55-ab1d60559af2",
"name": "crpy3"
},
{
"id": "cc4ad5a4-bd40-4e83-b124-b617f14b492f",
"name": "4ckez"
},
{
"id": "0c860af9-f0d8-4f3e-8e76-d5d72f3e831e",
"name": "4trkh"
},
{
"id": "e4e98c20-3df5-4263-8d26-4a45600543ab",
"name": "fo4qw"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "3336eca6-61e3-49ed-854a-d477f2ef6c4b",
"type": "communications-template_stages",
"attributes": {
"email_body": "Et sed aut sit.",
"email_subject": "aaf5y838is",
"slack_content": "Aliquid et est aut.",
"sms_content": "Et ea dolorum nisi.",
"created_at": "2025-10-18T00:48:55.846-07:00",
"updated_at": "2025-10-18T00:48:55.846-07:00",
"communication_stage": {
"id": "4f304bf7-ccdb-4f3c-8901-b7f30c085b0c",
"name": "0qb4f"
},
"communication_template": {
"id": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"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": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"type": "communications-templates",
"attributes": {
"name": "Updated Template Name",
"slug": "74j0y",
"description": "Updated description",
"position": 1,
"created_at": "2025-10-18T00:48:55.832-07:00",
"updated_at": "2025-10-18T00:48:58.268-07:00",
"communication_type_id": "5643a27e-8720-47cc-a126-6b407d557927",
"communication_type": {
"data": {
"id": "5643a27e-8720-47cc-a126-6b407d557927",
"type": "communications_types",
"attributes": {
"name": "gzxsh",
"slug": "gzxsh",
"description": "Similique quo fugit vero.",
"color": "#F5D9C4",
"position": 1,
"created_at": "2025-10-18T00:48:55.817-07:00",
"updated_at": "2025-10-18T00:48:55.817-07:00",
"communication_groups": [],
"communication_templates": [
{
"id": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"name": "Updated Template Name"
},
{
"id": "a1a63124-72d9-4b8d-ad52-c2e678448b3a",
"name": "j17k9"
},
{
"id": "1e41111e-87e6-45f5-847c-7b759d1afd2c",
"name": "k7ez9"
},
{
"id": "cf426ed2-3519-4572-aa08-6293b756dfeb",
"name": "5xf4g"
},
{
"id": "b3aa3d92-606e-4c94-85ca-2c833ee09a06",
"name": "imiu8"
},
{
"id": "ae00a073-277e-4c27-9a7f-f78b0fd6e72c",
"name": "sbwen"
},
{
"id": "9bdb7428-7053-4860-9f55-ab1d60559af2",
"name": "crpy3"
},
{
"id": "cc4ad5a4-bd40-4e83-b124-b617f14b492f",
"name": "4ckez"
},
{
"id": "0c860af9-f0d8-4f3e-8e76-d5d72f3e831e",
"name": "4trkh"
},
{
"id": "e4e98c20-3df5-4263-8d26-4a45600543ab",
"name": "fo4qw"
}
]
}
}
},
"communication_template_stages": [
{
"data": {
"id": "3336eca6-61e3-49ed-854a-d477f2ef6c4b",
"type": "communications-template_stages",
"attributes": {
"email_body": "Et sed aut sit.",
"email_subject": "aaf5y838is",
"slack_content": "Aliquid et est aut.",
"sms_content": "Et ea dolorum nisi.",
"created_at": "2025-10-18T00:48:55.846-07:00",
"updated_at": "2025-10-18T00:48:55.846-07:00",
"communication_stage": {
"id": "4f304bf7-ccdb-4f3c-8901-b7f30c085b0c",
"name": "0qb4f"
},
"communication_template": {
"id": "7e945095-8095-4e38-8753-6c3a7fc8ac6b",
"name": "Updated Template Name"
}
}
}
}
]
}
}
}