Create an escalation policy group
Create an escalation policy group for organizing escalation policies.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
application/json
Group name.
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.
{
"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"
}
}
}
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
{
"errors": "This API token is read-only and cannot be used for write operations."
}
Returns the newly created escalation policy group.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
Validation failed, the request has an unknown field, or you can access more than one team and didn't send team_id.
The ID of the escalation policy group.
Always escalation_policy_group.
Group name.
The group's position in your list of escalation policy groups, lower values first. null when no position was set.
When the group was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the group was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Team that owns this group, such as t123.
Name of the team that owns this group.
Example cURL