Skip to main content
PATCH
/
v1
/
communications
/
templates
/
{id}
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": "2fdc1204-0ffd-482d-b4d5-27704919353f",
    "type": "communications_templates",
    "attributes": {
      "name": "Updated Template Name",
      "slug": "uxtex",
      "description": "Updated description",
      "position": 1,
      "created_at": "2026-02-17T14:40:38.639-08:00",
      "updated_at": "2026-02-17T14:40:41.783-08:00",
      "communication_type_id": "d0f9bbf4-f402-46c9-bd3c-05a8ec0ba9ce",
      "communication_type": {
        "data": {
          "id": "d0f9bbf4-f402-46c9-bd3c-05a8ec0ba9ce",
          "type": "communications_types",
          "attributes": {
            "name": "3a42u",
            "slug": "3a42u",
            "description": "Atque officiis doloribus et.",
            "color": "#F5D9C4",
            "position": 1,
            "created_at": "2026-02-17T14:40:38.627-08:00",
            "updated_at": "2026-02-17T14:40:38.627-08:00",
            "communication_groups": [],
            "communication_templates": [
              {
                "id": "2fdc1204-0ffd-482d-b4d5-27704919353f",
                "name": "Updated Template Name"
              },
              {
                "id": "d908a060-d0f5-4366-a76e-6add9a372487",
                "name": "eq4yg"
              },
              {
                "id": "5fdbdb8d-0753-4f45-bac0-b53469db9b40",
                "name": "9bnrs"
              },
              {
                "id": "0d2ba510-c419-4476-a326-2a9c9774e6ea",
                "name": "xhu02"
              },
              {
                "id": "f891c3bb-54fa-4e8f-8aed-6e6b967c271b",
                "name": "po6h4"
              },
              {
                "id": "3adc0a37-53e4-4c01-8234-9efc5c5576ea",
                "name": "mwqh4"
              },
              {
                "id": "24f4f3c5-f0d1-4fc6-9edd-0bb15bc2d17e",
                "name": "lbbu6"
              },
              {
                "id": "56a9547e-f287-4647-ac9f-a61f269fbc98",
                "name": "06twk"
              },
              {
                "id": "84897eaf-6ee6-4d63-a63a-fdee0ea7c862",
                "name": "f0hiw"
              },
              {
                "id": "4f000f4c-1592-4a29-87b4-ef71f124ce83",
                "name": "nidck"
              }
            ]
          }
        }
      },
      "communication_template_stages": [
        {
          "data": {
            "id": "66a8a0aa-266f-411d-a33b-f2d846b950b7",
            "type": "communications_template_stages",
            "attributes": {
              "email_body": "Non reprehenderit et doloribus.",
              "email_subject": "bk4zxyrp6f",
              "slack_content": "Corporis in est deserunt.",
              "sms_content": "Inventore quis quia exercitationem.",
              "created_at": "2026-02-17T14:40:38.651-08:00",
              "updated_at": "2026-02-17T14:40:38.651-08:00",
              "communication_stage": {
                "id": "4d26e752-b292-472b-83ad-e7a22d6012e9",
                "name": "37v18"
              },
              "communication_template": {
                "id": "2fdc1204-0ffd-482d-b4d5-27704919353f",
                "name": "Updated Template Name"
              }
            }
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Communications Template ID

Body

application/vnd.api+json
data
object
required

Response

communications template updated

data
object
required