Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[DEPRECATED] CustomFieldOptions
[DEPRECATED] CustomFields
CustomForms
DashboardPanels
Dashboards
Environments
EscalationPolicies
EscalationLevelsPolicies
EscalationLevelsPath
EscalationLevels
EscalationPaths
FormFieldOptions
FormFieldPlacementConditions
FormFieldPlacements
FormFieldPositions
FormFields
FormSetConditions
FormSets
Functionalities
WorkflowTasks
[DEPRECATED] WorkflowCustomFieldSelections
WorkflowFormFieldConditions
WorkflowGroups
WorkflowRuns
Workflows
Heartbeats
IncidentActionItems
[DEPRECATED] IncidentCustomFieldSelections
IncidentEventFunctionalities
IncidentEventServices
IncidentEvents
IncidentFeedbacks
IncidentFormFieldSelections
IncidentPermissionSetBooleans
IncidentPermissionSetResources
IncidentPermissionSets
IncidentRetrospectives
IncidentRetrospectiveSteps
IncidentRoleTasks
IncidentRoles
IncidentStatusPageEvents
IncidentSubStatuses
IncidentTypes
Incidents
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
Creates a team
Creates a new team from provided data
curl --request POST \
--url https://api.rootly.com/v1/teams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"pagerduty_service_id": "<string>",
"opsgenie_id": "<string>",
"opsgenie_team_id": "<string>",
"victor_ops_id": "<string>",
"pagertree_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"user_ids": [
123
],
"admin_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "93faff4e-df7f-45d7-99f0-6e74b54eb4f1",
"type": "groups",
"attributes": {
"slug": "infrastructure",
"name": "Infrastructure",
"description": "Everything infrastructure related",
"color": "#FFF",
"position": 1,
"notify_emails": [
"john@rootly.com",
"doe@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "infrastructure"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "infrastructure"
}
],
"pagerduty_id": "PQ9K7I8",
"pagerduty_service_id": null,
"backstage_id": null,
"external_id": "d795fe69-acc2-4b30-92c9-3c25cbb92056",
"opsgenie_id": "8743a1b2-11da-480e-8493-744660987bef",
"victor_ops_id": "e877c558-12e2-44d2-8723-5c86f7473c54",
"pagertree_id": "daa8bcd6-bf4a-4716-976c-812832ae115e",
"cortex_id": null,
"service_now_ci_sys_id": null,
"user_ids": [
513,
514
],
"admin_ids": [],
"incidents_count": 0,
"alert_urgency_id": null,
"alerts_email_enabled": true,
"alerts_email_address": "group-cc5061febd8983a6c5f8eecc5f083106@test.email.rootly.io",
"created_at": "2025-03-26T23:25:50.999-07:00",
"updated_at": "2025-03-26T23:25:50.999-07:00"
},
"relationships": {
"users": {
"data": [
{
"id": "513",
"type": "users"
},
{
"id": "514",
"type": "users"
}
]
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
groups
The name of the team
The description of the team
Emails to attach to the team
The hex color of the team
Position of the team
The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
The external id associated to this team
The PagerDuty group id associated to this team
The PagerDuty service id associated to this team
The Opsgenie group id associated to this team
The Opsgenie team id associated to this team
The VictorOps group id associated to this team
The PagerTree group id associated to this team
The Cortex group id associated to this team
The Service Now CI sys id associated to this team
The user ids of the members of this team.
The user ids of the admins of this team. These users must also be present in user_ids attribute.
Enable alerts through email
The alert urgency id of the team
Response
Unique ID of the team
groups
The name of the team
Date of creation
Date of last update
The description of the team
Emails to attach to the team
The hex color of the team
Position of the team
The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name
The external id associated to this team
The PagerDuty group id associated to this team
The PagerDuty service id associated to this team
The Opsgenie group id associated to this team
The VictorOps group id associated to this team
The PagerTree group id associated to this team
The Cortex group id associated to this team
The Service Now CI sys id associated to this team
The user ids of the members of this team.
The user ids of the admins of this team. These users must also be present in user_ids attribute.
Enable alerts through email
Email generated to send alerts to
The alert urgency id of the team
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/teams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"pagerduty_service_id": "<string>",
"opsgenie_id": "<string>",
"opsgenie_team_id": "<string>",
"victor_ops_id": "<string>",
"pagertree_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"user_ids": [
123
],
"admin_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "93faff4e-df7f-45d7-99f0-6e74b54eb4f1",
"type": "groups",
"attributes": {
"slug": "infrastructure",
"name": "Infrastructure",
"description": "Everything infrastructure related",
"color": "#FFF",
"position": 1,
"notify_emails": [
"john@rootly.com",
"doe@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "infrastructure"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "infrastructure"
}
],
"pagerduty_id": "PQ9K7I8",
"pagerduty_service_id": null,
"backstage_id": null,
"external_id": "d795fe69-acc2-4b30-92c9-3c25cbb92056",
"opsgenie_id": "8743a1b2-11da-480e-8493-744660987bef",
"victor_ops_id": "e877c558-12e2-44d2-8723-5c86f7473c54",
"pagertree_id": "daa8bcd6-bf4a-4716-976c-812832ae115e",
"cortex_id": null,
"service_now_ci_sys_id": null,
"user_ids": [
513,
514
],
"admin_ids": [],
"incidents_count": 0,
"alert_urgency_id": null,
"alerts_email_enabled": true,
"alerts_email_address": "group-cc5061febd8983a6c5f8eecc5f083106@test.email.rootly.io",
"created_at": "2025-03-26T23:25:50.999-07:00",
"updated_at": "2025-03-26T23:25:50.999-07:00"
},
"relationships": {
"users": {
"data": [
{
"id": "513",
"type": "users"
},
{
"id": "514",
"type": "users"
}
]
}
}
}
}