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>",
"color": "<string>",
"description": "<string>",
"position": 123
}
}
}
'{
"data": {
"id": "834b1f28-047a-415b-b1cf-bd1181c16740",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-12-19T13:51:00.281-08:00",
"updated_at": "2025-12-19T13:51:00.281-08:00",
"communication_groups": [],
"communication_templates": []
}
}
}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>",
"color": "<string>",
"description": "<string>",
"position": 123
}
}
}
'{
"data": {
"id": "834b1f28-047a-415b-b1cf-bd1181c16740",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-12-19T13:51:00.281-08:00",
"updated_at": "2025-12-19T13:51:00.281-08:00",
"communication_groups": [],
"communication_templates": []
}
}
}