POST
/
v1
/
alerts
curl --request POST \
  --url https://api.rootly.com/v1/alerts \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "531ee60f-d7c4-4e91-9354-8cfcfd7872e2",
    "type": "alerts",
    "attributes": {
      "short_id": null,
      "source": "asana",
      "status": "open",
      "summary": "Asana ticket created",
      "description": null,
      "labels": [
        {
          "key": "status",
          "value": "succeeded"
        }
      ],
      "services": [
        {
          "id": "4d5a0754-58c2-4a2a-b9de-91c5723ee721",
          "team_id": 15,
          "name": "Iste et facere error.",
          "slug": "iste-et-facere-error",
          "description": "Officiis numquam odio iure.",
          "deleted_at": null,
          "created_at": "2025-03-13T11:58:55.756-07:00",
          "updated_at": "2025-03-13T11:58:55.756-07:00",
          "opsgenie_id": null,
          "pagerduty_id": null,
          "public_description": null,
          "github_repository_branch": "master",
          "github_repository_name": null,
          "color": "#D7E7F5",
          "heroku_app_name": null,
          "gitlab_repository_name": null,
          "gitlab_repository_branch": "master",
          "kubernetes_deployment_name": null,
          "incidents_count": 0,
          "position": 1,
          "slack_channels": [],
          "slack_aliases": [],
          "backstage_id": null,
          "show_uptime": true,
          "show_uptime_last_days": 60,
          "status": "operational",
          "external_id": null,
          "notify_emails": [],
          "cortex_id": null,
          "alerts_email_enabled": false,
          "alerts_email_address": "service-f4265f9719b02266f7305fe7cce31341@email.rootly.com",
          "opsgenie_team_id": null,
          "service_now_ci_sys_id": null,
          "alert_urgency_id": null,
          "opslevel_id": null
        }
      ],
      "groups": [],
      "environments": [
        {
          "id": "20581f98-72a3-4fbb-b51f-a745b2a6c3e7",
          "team_id": 15,
          "name": "Aut eos placeat consequatur.",
          "slug": "aut-eos-placeat-consequatur",
          "description": "Impedit iusto iste quis.",
          "color": "#090924",
          "deleted_at": null,
          "created_at": "2025-03-13T11:58:55.793-07:00",
          "updated_at": "2025-03-13T11:58:55.793-07:00",
          "incidents_count": 0,
          "position": 1,
          "slack_channels": [],
          "slack_aliases": [],
          "external_id": null,
          "notify_emails": []
        }
      ],
      "responders": [],
      "incidents": [],
      "data": {
        "url": "https://asana.com/issues/1"
      },
      "started_at": "2025-03-13T11:56:27.000-07:00",
      "ended_at": "2025-03-13T11:58:27.000-07:00",
      "external_id": null,
      "external_url": null,
      "url": "https://test.rootly.com/account/alerts/531ee60f-d7c4-4e91-9354-8cfcfd7872e2",
      "notification_target_type": null,
      "notification_target_id": null,
      "alert_urgency_id": "7e24446f-0ca5-413d-a751-8eecebb8ac45",
      "notified_users": [],
      "created_at": "2025-03-13T11:58:58.339-07:00",
      "updated_at": "2025-03-13T11:58:58.339-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
alert created
data
object
required