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": [
        {
          "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": [
        {
          "name": "<string>",
          "email": "<string>",
          "phone_number": "<string>"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "cbcad1c6-191f-42eb-98c4-f1e540f3a047",
    "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": "449c39b6-f687-4178-b286-705572e872b8",
      "slack_channel_ids": [
        "a40dedf3-724d-5d55-9cca-570ce4ebc669"
      ],
      "created_at": "2025-07-09T01:13:59.990-07:00",
      "updated_at": "2025-07-09T01:13:59.990-07:00",
      "team_id": 58,
      "communication_group_members": [
        {
          "id": "0457339a-4882-4406-a55b-48de4ca91507",
          "user_id": 63,
          "name": "Natalie Lesch",
          "email": "isreal@gleason.test"
        }
      ],
      "communication_external_group_members": [
        {
          "id": "27a3cb6f-8127-4460-aacd-21bbcbece083",
          "name": "External member",
          "email": "external@example.com",
          "phone_number": "+911234567890"
        }
      ],
      "communication_group_conditions": [
        {
          "id": "2c4d7655-8d33-4635-8a35-0a367ef5d8a5",
          "condition": "is",
          "property_type": "service",
          "properties": [
            {
              "id": "9e7328b3-beb8-4dbc-b88c-2290ddf04e01",
              "name": "Minima repellat iste rerum."
            }
          ]
        }
      ]
    }
  }
}

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.