Explore documentation

Create a new severity group

Returns either a newly created severity group, or validation errors.

POST https://uptime.betterstack.com/api/v2/urgency-groups

Headers

Authorization
required string
Content_Type
string

Body parameters

team_name
string
name
required string
sort_index
integer
201

Response body

{
  "data": {
    "id": "1234567",
    "type": "urgency_group",
    "attributes": {
      "name": "Example",
      "sort_index": null,
      "created_at": "2024-07-26T15:07:46.350Z",
      "updated_at": "2024-07-26T15:07:46.350Z",
      "team_name": "Testing"
    }
  }
}

Example cURL

Example
curl --request POST \
  --url https://uptime.betterstack.com/api/v2/urgency-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Example"
}'