StatOSS Alert destinations API

Where the account's alerts can go: email addresses, chat channels, pagers and webhooks. Pages pick from the list.

GitHub OpenAPI

Operations 6

GET /alert-destinations List alert destinations #
POST /alert-destinations Add an alert destination #
PATCH /alert-destinations/{destinationId} Change an alert destination #
DELETE /alert-destinations/{destinationId} Remove an alert destination #
POST /alert-destinations/{destinationId}/test Send a test alert #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/statoss-com:statoss-com-alert-destinations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

statoss-com-alert-destinations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StatOSS Alert destinations API
  version: '1'
  description: Everything the dashboard does to a status page, over HTTPS with a key. Keys are made under Settings, API keys; each reads, or reads and writes, and reaches every page or one page.
servers:
- url: https://statoss.com/api/v1
security:
- bearer: []
tags:
- name: Alert destinations
  description: 'Where the account''s alerts can go: email addresses, chat channels, pagers and webhooks. Pages pick from the list.'
paths:
  /alert-destinations:
    get:
      tags:
      - Alert destinations
      operationId: listAlertDestinations
      summary: List alert destinations
      description: The account's destinations, oldest first, with the pages that send to each. A key that writes also sees where each points. A key held to one page, or a token held to one app, does not reach the account's destinations.
      responses:
        '200':
          description: The destinations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  destinations:
                    type: array
                    items:
                      $ref: '#/components/schemas/AlertDestination'
              example:
                destinations:
                - id: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  kind: email
                  name: ops@example.com
                  target: ops@example.com
                  secret: null
                  eu: false
                  emergency: false
                  confirmed: false
                  available: true
                  pageIds:
                  - 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  createdAt: '2026-10-12T08:00:00.000Z'
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Alert destinations
      operationId: addAlertDestination
      summary: Add an alert destination
      description: Adds a destination to the account, ticked on pageIds. The same one again is found, not doubled. An email address is mailed a link and gets no alerts until it is opened. Chat, pager and webhook destinations are on Hobby and Pro. At most 50 destinations, and 20 on a page.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertDestinationInput'
            example:
              kind: email
              target: ops@example.com
              pageIds:
              - 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
      responses:
        '200':
          description: It was on the list already.
          content:
            application/json:
              schema:
                type: object
                properties:
                  destination:
                    $ref: '#/components/schemas/AlertDestination'
                  created:
                    type: boolean
                    description: false.
                  confirmationSent:
                    type:
                    - boolean
                    - 'null'
                    description: null.
        '201':
          description: Added. For an email address, confirmationSent says whether the link went out.
          content:
            application/json:
              schema:
                type: object
                properties:
                  destination:
                    $ref: '#/components/schemas/AlertDestination'
                  created:
                    type: boolean
                    description: true.
                  confirmationSent:
                    type:
                    - boolean
                    - 'null'
                    description: 'An email address: whether the link was mailed.'
              example:
                destination:
                  id: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  kind: email
                  name: ops@example.com
                  target: ops@example.com
                  secret: null
                  eu: false
                  emergency: false
                  confirmed: false
                  available: true
                  pageIds:
                  - 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  createdAt: '2026-10-12T08:00:00.000Z'
                created: true
                confirmationSent: true
        '400':
          description: The body or the query did not pass validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan or a limit does not allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /alert-destinations/{destinationId}:
    patch:
      tags:
      - Alert destinations
      operationId: updateAlertDestination
      summary: Change an alert destination
      description: Points it somewhere else and sets the pages that send to it; what the body leaves out stays. An email address and a Slack channel that was connected are not changed, only their pages.
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: string
        description: The destination id, from GET /alert-destinations.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertDestinationPatch'
            example:
              pageIds:
              - 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
      responses:
        '200':
          description: The destination.
          content:
            application/json:
              schema:
                type: object
                properties:
                  destination:
                    $ref: '#/components/schemas/AlertDestination'
              example:
                destination:
                  id: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  kind: email
                  name: ops@example.com
                  target: ops@example.com
                  secret: null
                  eu: false
                  emergency: false
                  confirmed: false
                  available: true
                  pageIds:
                  - 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  createdAt: '2026-10-12T08:00:00.000Z'
        '400':
          description: The body or the query did not pass validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan or a limit does not allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Alert destinations
      operationId: removeAlertDestination
      summary: Remove an alert destination
      description: Removes it from the account and from every page that sends to it.
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: string
        description: The destination id, from GET /alert-destinations.
      responses:
        '204':
          description: Removed.
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /alert-destinations/{destinationId}/resend:
    post:
      tags:
      - Alert destinations
      operationId: resendAlertDestinationLink
      summary: Send the confirmation link again
      description: 'Mails an email destination the link that confirms it. One already confirmed answers confirmed: true and sends nothing. The mail limits apply: a link held back is a 429.'
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: string
        description: The destination id, from GET /alert-destinations.
      responses:
        '200':
          description: Whether a link went out.
          content:
            application/json:
              schema:
                type: object
                properties:
                  sent:
                    type: boolean
                    description: 'true: a link was mailed.'
                  confirmed:
                    type: boolean
                    description: 'true: it needed none.'
                  destination:
                    $ref: '#/components/schemas/AlertDestination'
        '400':
          description: The body or the query did not pass validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /alert-destinations/{destinationId}/test:
    post:
      tags:
      - Alert destinations
      operationId: testAlertDestination
      summary: Send a test alert
      description: 'Sends one test alert to the destination. One that refuses it answers sent: false with why. An email address that is not confirmed is a 409, and at most 5 test emails an hour go to one address.'
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: string
        description: The destination id, from GET /alert-destinations.
      responses:
        '200':
          description: Whether it took the alert.
          content:
            application/json:
              schema:
                type: object
                properties:
                  sent:
                    type: boolean
                    description: 'true: it took the alert.'
                  error:
                    type:
                    - string
                    - 'null'
                    description: What went wrong and what to do about it.
              example:
                sent: true
                error: null
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: It cannot be done as things stand.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan or a limit does not allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AlertDestinationPatch:
      type: object
      properties:
        target:
          type: string
          description: 'Where it goes: an email address, a webhook URL, an integration key, a Telegram chat ID or a Pushover user key.'
        secret:
          type: string
          description: 'ntfy: the access token. Telegram: the bot token. Pushover: the application token. A webhook that is given none gets a signing secret made for it.'
        eu:
          type: boolean
          description: 'Opsgenie: the EU region.'
        emergency:
          type: boolean
          description: 'Pushover: down alerts repeat until acknowledged.'
        pageIds:
          type: array
          items:
            type: string
          description: The pages that send alerts here. A change replaces the list.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 'A short machine-readable reason: unauthenticated, read_only, forbidden, not_found, bad_request, conflict, plan_limit, too_broad, rate_limited, suspended, out_of_reach, internal, unavailable.'
            message:
              type: string
              description: What went wrong, in words.
          required:
          - code
          - message
      required:
      - error
    AlertDestination:
      type: object
      properties:
        id:
          type: string
          description: The destination id.
        kind:
          type: string
          description: What kind of destination it is.
          enum:
          - email
          - slack
          - discord
          - webhook
          - pagerduty
          - opsgenie
          - ntfy
          - telegram
          - pushover
          - teams
        name:
          type: string
          description: 'How the dashboard names it: an address, a channel, a host, or the last four characters of a key.'
        target:
          type:
          - string
          - 'null'
          description: 'An email address. Other kinds: where it points, only for a key that writes; null for a read key and for a Slack channel that was connected.'
        secret:
          type:
          - string
          - 'null'
          description: A webhook's signing secret or an ntfy token, only for a key that writes. A bot's or an application's token is never shown.
        eu:
          type: boolean
          description: 'Opsgenie: the EU region.'
        emergency:
          type: boolean
          description: 'Pushover: down alerts repeat until acknowledged.'
        confirmed:
          type: boolean
          description: 'false: an email address waits for the link mailed to it and gets no alerts until it is opened.'
        available:
          type: boolean
          description: 'false: a plan without chat alerts keeps the destination and does not use it.'
        pageIds:
          type: array
          items:
            type: string
          description: The pages that send alerts here.
        createdAt:
          type: string
          description: ISO 8601, UTC.
          format: date-time
    AlertDestinationInput:
      type: object
      properties:
        kind:
          type: string
          description: What kind of destination.
          enum:
          - email
          - slack
          - discord
          - webhook
          - pagerduty
          - opsgenie
          - ntfy
          - telegram
          - pushover
          - teams
        target:
          type: string
          description: 'Where it goes: an email address, a webhook URL, an integration key, a Telegram chat ID or a Pushover user key.'
        secret:
          type: string
          description: 'ntfy: the access token. Telegram: the bot token. Pushover: the application token. A webhook that is given none gets a signing secret made for it.'
        eu:
          type: boolean
          description: 'Opsgenie: the EU region.'
        emergency:
          type: boolean
          description: 'Pushover: down alerts repeat until acknowledged.'
        pageIds:
          type: array
          items:
            type: string
          description: The pages that send alerts here. A change replaces the list.
      required:
      - kind
      - target
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer sk_... with a key from Settings, API keys, or an OAuth access token (sat_...) from /oauth/token, which /.well-known/oauth-authorization-server describes. An agent nobody has claimed yet holds a sag_... token, which reaches /agent/draft only (see /auth.md).'