POST
/
v1
/
functionalities
curl --request POST \
  --url https://api.rootly.com/v1/functionalities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "functionalities",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "public_description": "<string>",
      "notify_emails": [
        "<string>"
      ],
      "color": "<string>",
      "position": 123,
      "backstage_id": "<string>",
      "external_id": "<string>",
      "pagerduty_id": "<string>",
      "opsgenie_id": "<string>",
      "opsgenie_team_id": "<string>",
      "cortex_id": "<string>",
      "service_now_ci_sys_id": "<string>",
      "show_uptime": true,
      "show_uptime_last_days": 60,
      "environment_ids": [
        "<string>"
      ],
      "service_ids": [
        "<string>"
      ],
      "owners_group_ids": [
        "<string>"
      ],
      "owners_user_ids": [
        123
      ],
      "slack_channels": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "slack_aliases": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "7bb12e23-b0f5-432b-985d-66349d1b7f82",
    "type": "functionalities",
    "attributes": {
      "name": "Add items to cart",
      "slug": "add-items-to-cart",
      "description": "Users should be able to add items to cart",
      "public_description": "Public description",
      "notify_emails": [
        "john@rootly.com",
        "doe@rootly.com"
      ],
      "color": "#FFF",
      "status": "operational",
      "position": 1,
      "show_uptime": true,
      "show_uptime_last_days": 60,
      "slack_channels": [
        {
          "id": "C03MKDSEJE8",
          "name": "elastisearch"
        }
      ],
      "slack_aliases": [
        {
          "id": "S03F7QUV7F1",
          "name": "engineering"
        }
      ],
      "backstage_id": null,
      "external_id": "d795fe69-acc2-4b30-92c9-3c25cbb92056",
      "opsgenie_id": "8743a1b2-11da-480e-8493-744660987bef",
      "pagerduty_id": "PQ9K7I8",
      "cortex_id": null,
      "opslevel_id": null,
      "service_now_ci_sys_id": null,
      "environment_ids": [
        "87c98874-1982-4464-8a5c-f97eab7a9ad1"
      ],
      "service_ids": [
        "4ed661c4-1f18-46b8-b5ec-c51681d6687c"
      ],
      "owners_group_ids": [
        "438e193d-933f-40a4-9dc7-1771153fca70"
      ],
      "owners_user_ids": [
        129
      ],
      "incidents_count": 0,
      "created_at": "2025-04-18T09:47:03.317-07:00",
      "updated_at": "2025-04-18T09:47:03.317-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
functionality created
data
object
required