Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
communications type created
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": "d34c36b3-dd1a-4b56-8f3f-160322ed0b72",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-09-26T17:24:28.055-07:00",
"updated_at": "2025-09-26T17:24:28.055-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
communications type created
Show child attributes
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": "d34c36b3-dd1a-4b56-8f3f-160322ed0b72",
"type": "communications_types",
"attributes": {
"name": "Incident Notifications",
"slug": "incident-notifications",
"description": "Type for incident-related communications",
"color": "#FF5733",
"position": 11,
"created_at": "2025-09-26T17:24:28.055-07:00",
"updated_at": "2025-09-26T17:24:28.055-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}