Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
alert created
Creates a new alert from provided data
curl --request POST \
--url https://api.rootly.com/v1/alerts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alerts",
"attributes": {
"noise": "noise",
"source": "rootly",
"status": "open",
"summary": "<string>",
"description": "<string>",
"service_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"environment_ids": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"external_url": "<string>",
"alert_urgency_id": "<string>",
"notification_target_type": "User",
"notification_target_id": "<string>",
"labels": [
{
"key": "<string>",
"value": "<string>"
}
],
"data": {},
"deduplication_key": "<string>",
"alert_field_values_attributes": [
{
"alert_field_id": "<string>",
"value": "<string>"
}
]
}
}
}'
{
"data": {
"id": "2d115c44-3679-4352-9fa4-3526c14b3e06",
"type": "alerts",
"attributes": {
"short_id": null,
"source": "asana",
"status": "open",
"summary": "Asana ticket created",
"description": null,
"labels": [
{
"key": "status",
"value": "succeeded"
}
],
"services": [
{
"id": "7c6b99f7-101c-467b-b2fa-b7b5c67333a5",
"alert_broadcast_channel": {},
"alert_broadcast_enabled": false,
"alert_urgency_id": null,
"alerts_email_address": "service-5c7d693b724a717b5d0ee50350f84df5@email.rootly.com",
"alerts_email_enabled": false,
"backstage_id": null,
"color": "#D7F5E1",
"cortex_id": null,
"created_at": "2025-09-16T17:10:05.444-07:00",
"datadog_id": null,
"deleted_at": null,
"description": "Aut est aliquid dolor.",
"external_id": null,
"github_repository_branch": "master",
"github_repository_name": null,
"gitlab_repository_branch": "master",
"gitlab_repository_name": null,
"heroku_app_name": null,
"incident_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incidents_count": 0,
"kubernetes_deployment_name": null,
"name": "Est aut laborum dolor.",
"notify_emails": [],
"opsgenie_id": null,
"opsgenie_team_id": null,
"opslevel_id": null,
"pagerduty_id": null,
"position": 1,
"public_description": null,
"service_now_ci_sys_id": null,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_aliases": [],
"slack_channels": [],
"slug": "est-aut-laborum-dolor",
"status": "operational",
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.444-07:00"
}
],
"service_ids": [
"7c6b99f7-101c-467b-b2fa-b7b5c67333a5"
],
"groups": [],
"group_ids": [],
"environments": [
{
"id": "f661a71a-52f5-4e59-a2dd-436a7f01b0f7",
"color": "#172117",
"created_at": "2025-09-16T17:10:05.470-07:00",
"deleted_at": null,
"description": "Exercitationem voluptas est autem.",
"external_id": null,
"incidents_count": 0,
"name": "Et totam sit atque.",
"notify_emails": [],
"position": 1,
"slack_aliases": [],
"slack_channels": [],
"slug": "et-totam-sit-atque",
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.470-07:00"
}
],
"environment_ids": [
"f661a71a-52f5-4e59-a2dd-436a7f01b0f7"
],
"responders": [],
"incidents": [],
"data": {
"url": "https://asana.com/issues/1"
},
"deduplication_key": null,
"started_at": "2025-09-16T17:07:18.000-07:00",
"ended_at": "2025-09-16T17:09:18.000-07:00",
"external_id": null,
"external_url": null,
"url": "https://test.rootly.com/account/alerts/2d115c44-3679-4352-9fa4-3526c14b3e06",
"noise": "not_noise",
"notification_target_type": null,
"notification_target_id": null,
"alert_urgency": {
"id": "99241668-b9c4-4e97-ace7-d865cf98338f",
"color": "#C73C40",
"created_at": "2025-09-16T17:10:05.482-07:00",
"deleted_at": null,
"description": "Assumenda asperiores aperiam voluptatibus.",
"name": "jb5g8",
"position": 1,
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.487-07:00",
"urgency": "high"
},
"alert_urgency_id": "99241668-b9c4-4e97-ace7-d865cf98338f",
"notified_users": [],
"created_at": "2025-09-16T17:10:07.081-07:00",
"updated_at": "2025-09-16T17:10:07.081-07:00"
},
"relationships": {
"events": {
"data": [
{
"id": "9425bc3a-fa3a-473f-be0b-e3fa7c93b904",
"type": "alert_events"
}
]
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
alert created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/alerts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alerts",
"attributes": {
"noise": "noise",
"source": "rootly",
"status": "open",
"summary": "<string>",
"description": "<string>",
"service_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"environment_ids": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"external_url": "<string>",
"alert_urgency_id": "<string>",
"notification_target_type": "User",
"notification_target_id": "<string>",
"labels": [
{
"key": "<string>",
"value": "<string>"
}
],
"data": {},
"deduplication_key": "<string>",
"alert_field_values_attributes": [
{
"alert_field_id": "<string>",
"value": "<string>"
}
]
}
}
}'
{
"data": {
"id": "2d115c44-3679-4352-9fa4-3526c14b3e06",
"type": "alerts",
"attributes": {
"short_id": null,
"source": "asana",
"status": "open",
"summary": "Asana ticket created",
"description": null,
"labels": [
{
"key": "status",
"value": "succeeded"
}
],
"services": [
{
"id": "7c6b99f7-101c-467b-b2fa-b7b5c67333a5",
"alert_broadcast_channel": {},
"alert_broadcast_enabled": false,
"alert_urgency_id": null,
"alerts_email_address": "service-5c7d693b724a717b5d0ee50350f84df5@email.rootly.com",
"alerts_email_enabled": false,
"backstage_id": null,
"color": "#D7F5E1",
"cortex_id": null,
"created_at": "2025-09-16T17:10:05.444-07:00",
"datadog_id": null,
"deleted_at": null,
"description": "Aut est aliquid dolor.",
"external_id": null,
"github_repository_branch": "master",
"github_repository_name": null,
"gitlab_repository_branch": "master",
"gitlab_repository_name": null,
"heroku_app_name": null,
"incident_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incidents_count": 0,
"kubernetes_deployment_name": null,
"name": "Est aut laborum dolor.",
"notify_emails": [],
"opsgenie_id": null,
"opsgenie_team_id": null,
"opslevel_id": null,
"pagerduty_id": null,
"position": 1,
"public_description": null,
"service_now_ci_sys_id": null,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_aliases": [],
"slack_channels": [],
"slug": "est-aut-laborum-dolor",
"status": "operational",
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.444-07:00"
}
],
"service_ids": [
"7c6b99f7-101c-467b-b2fa-b7b5c67333a5"
],
"groups": [],
"group_ids": [],
"environments": [
{
"id": "f661a71a-52f5-4e59-a2dd-436a7f01b0f7",
"color": "#172117",
"created_at": "2025-09-16T17:10:05.470-07:00",
"deleted_at": null,
"description": "Exercitationem voluptas est autem.",
"external_id": null,
"incidents_count": 0,
"name": "Et totam sit atque.",
"notify_emails": [],
"position": 1,
"slack_aliases": [],
"slack_channels": [],
"slug": "et-totam-sit-atque",
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.470-07:00"
}
],
"environment_ids": [
"f661a71a-52f5-4e59-a2dd-436a7f01b0f7"
],
"responders": [],
"incidents": [],
"data": {
"url": "https://asana.com/issues/1"
},
"deduplication_key": null,
"started_at": "2025-09-16T17:07:18.000-07:00",
"ended_at": "2025-09-16T17:09:18.000-07:00",
"external_id": null,
"external_url": null,
"url": "https://test.rootly.com/account/alerts/2d115c44-3679-4352-9fa4-3526c14b3e06",
"noise": "not_noise",
"notification_target_type": null,
"notification_target_id": null,
"alert_urgency": {
"id": "99241668-b9c4-4e97-ace7-d865cf98338f",
"color": "#C73C40",
"created_at": "2025-09-16T17:10:05.482-07:00",
"deleted_at": null,
"description": "Assumenda asperiores aperiam voluptatibus.",
"name": "jb5g8",
"position": 1,
"team_id": 19,
"updated_at": "2025-09-16T17:10:05.487-07:00",
"urgency": "high"
},
"alert_urgency_id": "99241668-b9c4-4e97-ace7-d865cf98338f",
"notified_users": [],
"created_at": "2025-09-16T17:10:07.081-07:00",
"updated_at": "2025-09-16T17:10:07.081-07:00"
},
"relationships": {
"events": {
"data": [
{
"id": "9425bc3a-fa3a-473f-be0b-e3fa7c93b904",
"type": "alert_events"
}
]
}
}
}
}