POST
/
v1
/
communications
/
groups
curl --request POST \
  --url https://api.rootly.com/v1/communications/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "communications-groups",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "communication_type_id": "<string>",
      "is_private": true,
      "condition_type": "any",
      "sms_channel": true,
      "email_channel": true,
      "slack_channel_ids": [
        "<string>"
      ],
      "communication_group_conditions_attributes": [
        {
          "id": "<string>",
          "property_type": "service",
          "service_ids": [
            "<string>"
          ],
          "severity_ids": [
            "<string>"
          ],
          "functionality_ids": [
            "<string>"
          ],
          "group_ids": [
            "<string>"
          ],
          "incident_type_ids": [
            "<string>"
          ]
        }
      ],
      "communication_group_members_attributes": [
        {
          "user_id": 123
        }
      ],
      "communication_external_group_members_attributes": [
        {
          "id": "<string>",
          "name": "<string>",
          "email": "<string>",
          "phone_number": "<string>"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "eb64d986-187e-4425-a385-85093ec98e5b",
    "type": "communications-groups",
    "attributes": {
      "name": "Engineering Team",
      "slug": "engineering-team",
      "description": "Engineering team communications group",
      "is_private": false,
      "condition_type": "any",
      "email_channel": true,
      "sms_channel": false,
      "communication_type_id": "ef9fe886-1ba2-4913-8ee3-59f32c5630ed",
      "slack_channel_ids": [
        "93501ed1-199d-56dc-90bc-64edc961ced0"
      ],
      "created_at": "2025-06-18T16:02:11.435-07:00",
      "updated_at": "2025-06-18T16:02:11.435-07:00",
      "team_id": 61,
      "communication_group_members": [
        {
          "id": "1ba10b09-2f66-49c6-a890-2d2a00d0e2b2",
          "user_id": 63,
          "name": "Ethan Gibson",
          "email": "tom_bailey@kovacek.example"
        }
      ],
      "communication_external_group_members": [
        {
          "id": "f58f793a-9346-4181-b7c0-cf63fca2fddb",
          "name": "External member",
          "email": "external@example.com",
          "phone_number": "+911234567890"
        }
      ],
      "communication_group_conditions": [
        {
          "id": "a025aec1-a83a-436a-8113-7fe12ddf962d",
          "condition": "is",
          "property_type": "service",
          "properties": [
            {
              "id": "3d125b7a-e570-4a39-bac7-fbf771b0d04c",
              "name": "Debitis est commodi molestiae."
            }
          ]
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/vnd.api+json

Response

201
application/vnd.api+json

communications group created

The response is of type object.