Create an escalation policy group

Create an escalation policy group for organizing escalation policies.

POST https://incidents.betterstack.com/api/v3/escalation-policy-groups
team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

name string required

Group name.

sort_index integer or null

The group's position in your list of escalation policy groups, lower values first. null when no position was set. Requests can also name it position.

201 Created
{
  "data": {
    "id": "123456789",
    "type": "escalation_policy_group",
    "attributes": {
      "name": "Platform on-call",
      "sort_index": 0,
      "created_at": "2024-07-26T15:07:46.350Z",
      "updated_at": "2024-07-26T15:07:46.350Z",
      "team_id": "t123",
      "team_name": "Test team"
    }
  }
}

Returns the newly created escalation policy group.

id string

The ID of the escalation policy group.

type string

Always escalation_policy_group.

name string

Group name.

sort_index integer or null

The group's position in your list of escalation policy groups, lower values first. null when no position was set.

created_at datetime

When the group was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the group was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

Team that owns this group, such as t123.

team_name string

Name of the team that owns this group.

Example cURL

Create an escalation policy group Listed first
curl --request POST \
  --url https://incidents.betterstack.com/api/v3/escalation-policy-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "name": "Platform on-call"
}'
curl --request POST \
  --url https://incidents.betterstack.com/api/v3/escalation-policy-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "name": "Critical escalations",
  "sort_index": 0
}'