Creates a new communications type from provided data
curl --request POST \
--url https://api.rootly.com/v1/communications/types \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "f61933aa-9d45-49a8-b7ab-76a01c4c001e",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-07-29T05:35:59.036-07:00",
"updated_at": "2025-07-29T05:35:59.036-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
communications type created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/communications/types \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "f61933aa-9d45-49a8-b7ab-76a01c4c001e",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-07-29T05:35:59.036-07:00",
"updated_at": "2025-07-29T05:35:59.036-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}