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>"
}
}
}'
{
"data": {
"id": "f9034e8d-313b-4cbd-9430-5d4c3107e1d1",
"type": "alerts",
"attributes": {
"short_id": null,
"source": "asana",
"status": "open",
"summary": "Asana ticket created",
"description": null,
"labels": [
{
"key": "status",
"value": "succeeded"
}
],
"services": [
{
"id": "7175db43-1611-4382-81cd-c90d20a8ede7",
"alert_broadcast_channel": {},
"alert_broadcast_enabled": false,
"alert_urgency_id": null,
"alerts_email_address": "service-0fbe39409b154a35a58d4b90a749c255@email.rootly.com",
"alerts_email_enabled": false,
"backstage_id": null,
"color": "#F5D9C4",
"cortex_id": null,
"created_at": "2025-08-01T11:04:07.997-07:00",
"datadog_id": null,
"deleted_at": null,
"description": "Qui quam enim 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": "Non omnis qui alias.",
"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": "non-omnis-qui-alias",
"status": "operational",
"team_id": 16,
"updated_at": "2025-08-01T11:04:07.997-07:00"
}
],
"service_ids": [
"7175db43-1611-4382-81cd-c90d20a8ede7"
],
"groups": [],
"group_ids": [],
"environments": [
{
"id": "c872f1d4-498c-4a63-bc0d-716cd99f782e",
"color": "#524242",
"created_at": "2025-08-01T11:04:08.025-07:00",
"deleted_at": null,
"description": "Sunt qui vero sit.",
"external_id": null,
"incidents_count": 0,
"name": "Natus rem aut ea.",
"notify_emails": [],
"position": 1,
"slack_aliases": [],
"slack_channels": [],
"slug": "natus-rem-aut-ea",
"team_id": 16,
"updated_at": "2025-08-01T11:04:08.025-07:00"
}
],
"environment_ids": [
"c872f1d4-498c-4a63-bc0d-716cd99f782e"
],
"responders": [],
"incidents": [],
"data": {
"url": "https://asana.com/issues/1"
},
"deduplication_key": null,
"started_at": "2025-08-01T11:01:23.000-07:00",
"ended_at": "2025-08-01T11:03:23.000-07:00",
"external_id": null,
"external_url": null,
"url": "https://test.rootly.com/account/alerts/f9034e8d-313b-4cbd-9430-5d4c3107e1d1",
"noise": "not_noise",
"notification_target_type": null,
"notification_target_id": null,
"alert_urgency": {
"id": "b300e73d-f9cc-4ffa-8f05-0160af163028",
"color": "#C73C40",
"created_at": "2025-08-01T11:04:08.037-07:00",
"deleted_at": null,
"description": "Quis ipsa voluptatem odit.",
"name": "vv948",
"position": 1,
"team_id": 16,
"updated_at": "2025-08-01T11:04:08.043-07:00",
"urgency": "high"
},
"alert_urgency_id": "b300e73d-f9cc-4ffa-8f05-0160af163028",
"notified_users": [],
"created_at": "2025-08-01T11:04:10.068-07:00",
"updated_at": "2025-08-01T11:04:10.068-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
alert created
The response is of type object
.
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>"
}
}
}'
{
"data": {
"id": "f9034e8d-313b-4cbd-9430-5d4c3107e1d1",
"type": "alerts",
"attributes": {
"short_id": null,
"source": "asana",
"status": "open",
"summary": "Asana ticket created",
"description": null,
"labels": [
{
"key": "status",
"value": "succeeded"
}
],
"services": [
{
"id": "7175db43-1611-4382-81cd-c90d20a8ede7",
"alert_broadcast_channel": {},
"alert_broadcast_enabled": false,
"alert_urgency_id": null,
"alerts_email_address": "service-0fbe39409b154a35a58d4b90a749c255@email.rootly.com",
"alerts_email_enabled": false,
"backstage_id": null,
"color": "#F5D9C4",
"cortex_id": null,
"created_at": "2025-08-01T11:04:07.997-07:00",
"datadog_id": null,
"deleted_at": null,
"description": "Qui quam enim 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": "Non omnis qui alias.",
"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": "non-omnis-qui-alias",
"status": "operational",
"team_id": 16,
"updated_at": "2025-08-01T11:04:07.997-07:00"
}
],
"service_ids": [
"7175db43-1611-4382-81cd-c90d20a8ede7"
],
"groups": [],
"group_ids": [],
"environments": [
{
"id": "c872f1d4-498c-4a63-bc0d-716cd99f782e",
"color": "#524242",
"created_at": "2025-08-01T11:04:08.025-07:00",
"deleted_at": null,
"description": "Sunt qui vero sit.",
"external_id": null,
"incidents_count": 0,
"name": "Natus rem aut ea.",
"notify_emails": [],
"position": 1,
"slack_aliases": [],
"slack_channels": [],
"slug": "natus-rem-aut-ea",
"team_id": 16,
"updated_at": "2025-08-01T11:04:08.025-07:00"
}
],
"environment_ids": [
"c872f1d4-498c-4a63-bc0d-716cd99f782e"
],
"responders": [],
"incidents": [],
"data": {
"url": "https://asana.com/issues/1"
},
"deduplication_key": null,
"started_at": "2025-08-01T11:01:23.000-07:00",
"ended_at": "2025-08-01T11:03:23.000-07:00",
"external_id": null,
"external_url": null,
"url": "https://test.rootly.com/account/alerts/f9034e8d-313b-4cbd-9430-5d4c3107e1d1",
"noise": "not_noise",
"notification_target_type": null,
"notification_target_id": null,
"alert_urgency": {
"id": "b300e73d-f9cc-4ffa-8f05-0160af163028",
"color": "#C73C40",
"created_at": "2025-08-01T11:04:08.037-07:00",
"deleted_at": null,
"description": "Quis ipsa voluptatem odit.",
"name": "vv948",
"position": 1,
"team_id": 16,
"updated_at": "2025-08-01T11:04:08.043-07:00",
"urgency": "high"
},
"alert_urgency_id": "b300e73d-f9cc-4ffa-8f05-0160af163028",
"notified_users": [],
"created_at": "2025-08-01T11:04:10.068-07:00",
"updated_at": "2025-08-01T11:04:10.068-07:00"
}
}
}