Nopaque Limited Notifications API

Alert rules and the email destinations they send to. A rule watches a schedule, a saved test or a batch, and emails its destinations when runs fail and when they recover.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /notifications/rules List the workspace's alert rules #
GET /notifications/rules/{id} Get one alert rule with its history #
GET /notifications/destinations List the workspace's alert email destinations #

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/nopaque-co-uk:nopaque-co-uk-notifications-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

nopaque-co-uk-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nopaque Co Uk Notifications API
  version: 0.3.0
  contact:
    name: Nopaque support
    email: support@nopaque.co.uk
    url: https://www.nopaque.co.uk/docs
  license:
    name: Proprietary
    url: https://www.nopaque.co.uk/terms
  termsOfService: https://www.nopaque.co.uk/terms
  description: 'Operations tagged Notifications across 2 of this provider''s published API definitions: nopaque-co-uk-openapi.json, nopaque-co-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.nopaque.co.uk
  description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

    header on every request. Workspace-scoped operations are isolated to the workspace the API

    key was created in.

    '
- url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
  description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

    `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

    sign-in. NOTE: this gateway does NOT have a custom domain today.

    '
tags:
- name: Notifications
  description: 'Alert rules and the email destinations they send to. A rule watches a schedule, a saved

    test or a batch, and emails its destinations when runs fail and when they recover.'
paths:
  /notifications/rules:
    get:
      operationId: listAlertRules
      summary: List the workspace's alert rules
      description: 'Every alert rule in the caller''s workspace, with what it watches (`targetType`,

        `targetId`, and `targetLabel`, the name of the schedule, test or batch), the event and

        condition it alerts on, its M-of-N evaluation (`datapointsToAlarm` of

        `evaluationPeriods`), whether it is `enabled` or muted (`mutedUntil`), its current

        `state` (`OK` or `IN_ALARM`) and when that last changed, and the destinations it emails

        (id, address, label, status). `misconfigured` is true for an enabled rule with no

        verified destination. `inAppForMe` says whether the caller asked to be told in the app.


        Main gateway only: `Authorization: Bearer `. Any role holding

        `notifications:read` may read.'
      tags:
      - Notifications
      security:
      - cognitoBearer: []
      responses:
        '200':
          description: The rules.
          content:
            application/json:
              schema:
                type: object
                required:
                - rules
                - count
                properties:
                  rules:
                    type: array
                    items:
                      $ref: '#/components/schemas/AlertRule'
                  count:
                    type: integer
        '401':
          description: Missing or invalid `Authorization` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The caller's role cannot read notifications.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
  /notifications/rules/{id}:
    parameters:
    - in: path
      name: id
      required: true
      schema:
        type: string
      description: Alert rule id, from listAlertRules.
    get:
      operationId: getAlertRule
      summary: Get one alert rule with its history
      description: 'One alert rule (the same shape as a row of the list), its last 50 state changes

        (`transitions`) and, for a schedule or test rule, the outcomes of up to 10 recent runs

        it watched (`recentRuns`). A batch rule has no `recentRuns`.


        Main gateway only: `Authorization: Bearer `.'
      tags:
      - Notifications
      security:
      - cognitoBearer: []
      responses:
        '200':
          description: The rule, its transitions and recent runs.
          content:
            application/json:
              schema:
                type: object
                required:
                - rule
                - transitions
                - recentRuns
                properties:
                  rule:
                    $ref: '#/components/schemas/AlertRule'
                  transitions:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                  recentRuns:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        outcome:
                          type: string
                        status:
                          type: string
                        startedAt:
                          type: string
                        completedAt:
                          type: string
        '401':
          description: Missing or invalid `Authorization` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The caller's role cannot read notifications.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such rule in this workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
  /notifications/destinations:
    get:
      operationId: listNotificationDestinations
      summary: List the workspace's alert email destinations
      description: 'The email addresses alert rules can send to: id, channel (`email`), address, label,

        `status` (`pending` until the address owner clicks the verification link, then

        `verified`), when it was verified, who added it and when. Holds no verification

        token.


        Main gateway only: `Authorization: Bearer `.'
      tags:
      - Notifications
      security:
      - cognitoBearer: []
      responses:
        '200':
          description: The destinations.
          content:
            application/json:
              schema:
                type: object
                required:
                - destinations
                - count
                properties:
                  destinations:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - channel
                      - address
                      - status
                      - createdAt
                      properties:
                        id:
                          type: string
                        channel:
                          type: string
                          enum:
                          - email
                        address:
                          type: string
                        label:
                          type: string
                        status:
                          type: string
                          enum:
                          - pending
                          - verified
                        verifiedAt:
                          type: string
                          format: date-time
                        createdBy:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                  count:
                    type: integer
        '401':
          description: Missing or invalid `Authorization` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The caller's role cannot read notifications.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
components:
  schemas:
    Error:
      type: object
      description: "An error body carries its human-readable message in ONE of two fields, depending on\nwhat produced it. Read `error` first, then `message`:\n\n- `error`: errors raised by the API's own handlers. Most operations use this.\n- `message`: errors produced by the API gateway itself (401 from the authorizer,\n  429 from throttling) and by a few older handlers.\n\nThe error CODE is conveyed by the HTTP status code; this object intentionally does\nNOT include a machine-readable `code` field today.\n"
      anyOf:
      - required:
        - error
      - required:
        - message
      properties:
        error:
          type: string
          description: Human-readable error message from an API handler.
          example: Survey test config not found
        message:
          type: string
          description: Human-readable error message from the gateway or an older handler.
          example: Unauthorized
    AlertRule:
      type: object
      description: An alert rule as the API returns it. Internal join keys, and who else asked for in-app alerts, are left out.
      required:
      - id
      - targetType
      - targetId
      - targetLabel
      - enabled
      - state
      - destinations
      - misconfigured
      - inAppForMe
      properties:
        id:
          type: string
        targetType:
          type: string
          enum:
          - schedule
          - testConfig
          - batch
        targetId:
          type: string
        targetLabel:
          type: string
          description: The name of what the rule watches
          or its id when no name is found.: null
        event:
          type: string
          enum:
          - run_failed
        condition:
          type: object
          additionalProperties: true
        destinationIds:
          type: array
          items:
            type: string
        destinations:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              address:
                type: string
              label:
                type: string
              status:
                type: string
        enabled:
          type: boolean
        datapointsToAlarm:
          type: integer
        evaluationPeriods:
          type: integer
        state:
          type: string
          enum:
          - OK
          - IN_ALARM
        stateChangedAt:
          type: string
        mutedUntil:
          type: string
        suppressWhenCovered:
          type: boolean
        misconfigured:
          type: boolean
        inAppForMe:
          type: boolean
        createdBy:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
      additionalProperties: true
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Workspace-scoped API key. Create via `POST /workspaces/{workspaceId}/api-keys`

        (on the auth gateway). Rate-limited per workspace tier.

        '
    cognitoBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Cognito-issued JWT bearer token. Used by the first-party web app; not typically

        used by external integrators (use `apiKey` instead).

        '
x-refined-from:
- nopaque-co-uk-openapi.json
- nopaque-co-uk-openapi.json
x-provenance:
  method: harvested
  publisher: Nopaque Limited
  source: https://www.nopaque.co.uk/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)