Skip to main content
POST
/
notifications
Create a Notification Group
curl --request POST \
  --url https://v1.api.altostrat.io/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Primary On-Call Team Alerts",
  "schedule_id": "sch_7d1b8c0c-5121-4f27-849c-29b3a0e6201a",
  "mute": "schedule-active",
  "topics": [
    "top_9cffb446-18a5-445a-948c-e6f1d98930af",
    "top_9ba5d51f-3ada-44f2-9fb9-bf2404a29f50"
  ],
  "sites": [
    "site_a2b3c4d5-e6f7-g8h9-i0j1-k2l3m4n5o6p7",
    "site_b3c4d5e6-f7g8-h9i0-j1k2-l3m4n5o6p7q8"
  ],
  "notifiables": [
    {
      "id": "usr_5f0b6e1b-4f1e-4b4a-8b0a-0e6f0b6e1b4f",
      "channel": "whatsapp"
    }
  ]
}
'
{
  "id": "ntfgrp_9b01a14c-1123-4279-88b1-3e42f9b846e1",
  "name": "Primary On-Call Team Alerts",
  "schedule_id": "sch_7d1b8c0c-5121-4f27-849c-29b3a0e6201a",
  "mute": "schedule-active",
  "notifiables": [
    {
      "id": "usr_5f0b6e1b-4f1e-4b4a-8b0a-0e6f0b6e1b4f",
      "channel": "whatsapp"
    }
  ],
  "topics": [
    "top_9cffb446-18a5-445a-948c-e6f1d98930af",
    "top_9ba5d51f-3ada-44f2-9fb9-bf2404a29f50"
  ],
  "sites": [
    "site_a2b3c4d5-e6f7-g8h9-i0j1-k2l3m4n5o6p7",
    "site_b3c4d5e6-f7g8-h9i0-j1k2-l3m4n5o6p7q8"
  ],
  "created_at": "2025-10-29T12:24:17.000Z",
  "updated_at": "2025-10-29T12:28:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Altostrat uses OAuth2 for authentication. Tokens can be obtained from the Altostrat Authentication API.

Body

application/json

The details of the notification group to create.

name
string
required

A human-readable name for the notification group.

Maximum string length: 100
Example:

"Primary On-Call Team Alerts"

schedule_id
string<uuid>
required

The UUID of a Schedule object from the Chrono API, which defines when this group is active.

Example:

"sch_7d1b8c0c-5121-4f27-849c-29b3a0e6201a"

mute
enum<string>
required

Controls the mute state of the group. schedule-active mutes when the schedule is inactive, schedule-inactive mutes when the schedule is active. never and always are absolute states.

Available options:
schedule-active,
schedule-inactive,
never,
always
Example:

"schedule-active"

topics
string<uuid>[]
required

An array of Topic UUIDs to which this group subscribes.

Maximum array length: 20
Example:
[
"top_9cffb446-18a5-445a-948c-e6f1d98930af",
"top_9ba5d51f-3ada-44f2-9fb9-bf2404a29f50"
]
sites
string<uuid>[]
required

An array of Site UUIDs that this group will receive notifications for.

Maximum array length: 800
Example:
[
"site_a2b3c4d5-e6f7-g8h9-i0j1-k2l3m4n5o6p7",
"site_b3c4d5e6-f7g8-h9i0-j1k2-l3m4n5o6p7q8"
]
notifiables
object[]
required

An array of recipients and their preferred notification channels.

Maximum array length: 200

Response

Notification group created successfully.

id
string<uuid>

The unique identifier for the notification group.

Example:

"ntfgrp_9b01a14c-1123-4279-88b1-3e42f9b846e1"

name
string

A human-readable name for the notification group.

Example:

"Primary On-Call Team Alerts"

schedule_id
string<uuid>

The UUID of a Schedule object from the Chrono API, which defines when this group is active.

Example:

"sch_7d1b8c0c-5121-4f27-849c-29b3a0e6201a"

mute
enum<string>

Controls the mute state of the group. schedule-active mutes when the schedule is inactive, schedule-inactive mutes when the schedule is active. never and always are absolute states.

Available options:
schedule-active,
schedule-inactive,
never,
always
Example:

"schedule-active"

notifiables
object[]

An array of recipients and their designated notification channels.

topics
string<uuid>[]

An array of Topic UUIDs to which this group subscribes.

Example:
[
"top_9cffb446-18a5-445a-948c-e6f1d98930af",
"top_9ba5d51f-3ada-44f2-9fb9-bf2404a29f50"
]
sites
string<uuid>[]

An array of Site UUIDs that this group will receive notifications for.

Example:
[
"site_a2b3c4d5-e6f7-g8h9-i0j1-k2l3m4n5o6p7",
"site_b3c4d5e6-f7g8-h9i0-j1k2-l3m4n5o6p7q8"
]
created_at
string<date-time>

The timestamp when the notification group was created.

Example:

"2025-10-29T12:24:17.000Z"

updated_at
string<date-time>

The timestamp when the notification group was last updated.

Example:

"2025-10-29T12:28:00.000Z"