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": "5899b041-1a05-4cfc-8093-a3058d3647d2",
    "type": "communications-templates",
    "attributes": {
      "name": "Updated Template Name",
      "slug": "3em7f",
      "description": "Updated description",
      "position": 1,
      "created_at": "2025-08-18T10:33:19.788-07:00",
      "updated_at": "2025-08-18T10:33:22.235-07:00",
      "communication_type_id": "8a848f88-9807-4045-ba6b-23d381d219eb",
      "communication_type": {
        "data": {
          "id": "8a848f88-9807-4045-ba6b-23d381d219eb",
          "type": "communications_types",
          "attributes": {
            "name": "823r5",
            "slug": "823r5",
            "description": "Aut totam iste ut.",
            "color": "#F4CFD1",
            "position": 1,
            "created_at": "2025-08-18T10:33:19.775-07:00",
            "updated_at": "2025-08-18T10:33:19.775-07:00",
            "communication_groups": [],
            "communication_templates": [
              {
                "id": "5899b041-1a05-4cfc-8093-a3058d3647d2",
                "name": "Updated Template Name"
              },
              {
                "id": "bf93444f-0fbf-4624-8071-33f168555f3d",
                "name": "45hsa"
              },
              {
                "id": "5bdc809b-2066-41ac-a7fe-fb2dd27afd83",
                "name": "0b105"
              },
              {
                "id": "5e1ad829-e161-419d-9c73-881eb638d3e8",
                "name": "x6p6l"
              },
              {
                "id": "018d0f4e-7cf6-48b1-9206-2a5b3e53d864",
                "name": "8gtvd"
              },
              {
                "id": "02f0d4f2-b478-43b6-9fa2-8af8139b40a6",
                "name": "ch9ar"
              },
              {
                "id": "3418ff76-cac9-4719-8c17-3b757822ff7d",
                "name": "gtf08"
              },
              {
                "id": "edadff71-55fb-4566-89f1-890bb9445b24",
                "name": "cu4kd"
              },
              {
                "id": "2ebe29ee-5366-40d6-9ec5-1025c1021970",
                "name": "1ygth"
              },
              {
                "id": "9c3c302d-5f15-44db-921e-65e3edf0df67",
                "name": "iu6vt"
              }
            ]
          }
        }
      },
      "communication_template_stages": [
        {
          "data": {
            "id": "86493892-e70c-48eb-a3ff-123008d078d9",
            "type": "communications-template_stages",
            "attributes": {
              "email_body": "Neque explicabo veniam sapiente.",
              "email_subject": "ou13psb0yu",
              "slack_content": "Numquam autem ipsa fuga.",
              "sms_content": "Odio ducimus aperiam ut.",
              "created_at": "2025-08-18T10:33:19.800-07:00",
              "updated_at": "2025-08-18T10:33:19.800-07:00",
              "communication_stage": {
                "id": "590e3deb-2419-4ba8-8a30-8dae57b631fe",
                "name": "mv817"
              },
              "communication_template": {
                "id": "5899b041-1a05-4cfc-8093-a3058d3647d2",
                "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

Response

200
application/vnd.api+json

communications template updated

The response is of type object.