Creates a new communications group from provided data
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": "e2ad7baa-447e-4593-a72b-e9080bcc4bf7",
"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": "c06b4ded-02d0-4e45-92fb-5d474f2dda32",
"slack_channel_ids": [
"9021573a-a6ec-5975-a26d-0ffa8c217597"
],
"created_at": "2025-08-18T10:33:14.165-07:00",
"updated_at": "2025-08-18T10:33:14.165-07:00",
"team_id": 59,
"communication_group_members": [
{
"id": "9c6c5596-d61b-4b4f-800c-6a63030eae12",
"user_id": 64,
"name": "Vincent Nicolas",
"email": "marcelo@runolfsson.example"
}
],
"communication_external_group_members": [
{
"id": "4deb77f6-1b95-40c8-a44c-fd72f97e1418",
"name": "External member",
"email": "external@example.com",
"phone_number": "+911234567890"
}
],
"communication_group_conditions": [
{
"id": "90e52389-37d8-4a6d-821d-b0e3b6633fa6",
"condition": "is",
"property_type": "service",
"properties": [
{
"id": "7788d882-0b85-4d8d-986d-34cc29205fc8",
"name": "Laudantium et aliquid quo."
}
]
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
communications group created
The response is of type object
.
Was this page helpful?
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": "e2ad7baa-447e-4593-a72b-e9080bcc4bf7",
"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": "c06b4ded-02d0-4e45-92fb-5d474f2dda32",
"slack_channel_ids": [
"9021573a-a6ec-5975-a26d-0ffa8c217597"
],
"created_at": "2025-08-18T10:33:14.165-07:00",
"updated_at": "2025-08-18T10:33:14.165-07:00",
"team_id": 59,
"communication_group_members": [
{
"id": "9c6c5596-d61b-4b4f-800c-6a63030eae12",
"user_id": 64,
"name": "Vincent Nicolas",
"email": "marcelo@runolfsson.example"
}
],
"communication_external_group_members": [
{
"id": "4deb77f6-1b95-40c8-a44c-fd72f97e1418",
"name": "External member",
"email": "external@example.com",
"phone_number": "+911234567890"
}
],
"communication_group_conditions": [
{
"id": "90e52389-37d8-4a6d-821d-b0e3b6633fa6",
"condition": "is",
"property_type": "service",
"properties": [
{
"id": "7788d882-0b85-4d8d-986d-34cc29205fc8",
"name": "Laudantium et aliquid quo."
}
]
}
]
}
}
}