SendSeven GmbH Alerts API

Configure channel-health and delivery alerts and manage alert notification settings and history.

GitHub OpenAPI

Operations 10

GET /api/v1/alert-settings Get Alert Settings #
PUT /api/v1/alert-settings Put Alert Settings #
DELETE /api/v1/alert-settings/override Delete Alert Settings Override #
POST /api/v1/alert-settings/destinations Create Alert Destination #
PUT /api/v1/alert-settings/destinations/{destination_id} Update Alert Destination #
DELETE /api/v1/alert-settings/destinations/{destination_id} Delete Alert Destination #
POST /api/v1/alert-settings/destinations/{destination_id}/send-verification Send Destination Verification #
POST /api/v1/alert-settings/destinations/{destination_id}/verify Verify Destination #
GET /api/v1/alerts List Alerts #
POST /api/v1/alert-settings/test Send 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/sendseven-com:sendseven-com-alerts-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

sendseven-com-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven Alerts API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: Alerts
  description: Configure channel-health and delivery alerts and manage alert notification settings and history.
paths:
  /api/v1/alert-settings:
    get:
      tags:
      - Alerts
      summary: Get Alert Settings
      description: 'All three config layers + every destination visible to this tenant.


        **🔐 Required Scopes:** `alerts:read`'
      operationId: get_alert_settings_api_v1_alert_settings_get
      security:
      - HTTPBearer: []
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertSettingsLayeredResponse'
    put:
      tags:
      - Alerts
      summary: Put Alert Settings
      description: 'Upsert the settings row at ``scope``.


        ``account`` writes the BA-default (applies to every tenant of the billing

        account); ``tenant`` creates/updates this tenant''s all-or-nothing

        override. Single-row-per-scope is enforced HERE (MySQL treats NULLs as

        distinct inside the unique constraint).


        **🔐 Required Scopes:** `alerts:update`'
      operationId: put_alert_settings_api_v1_alert_settings_put
      security:
      - HTTPBearer: []
      parameters:
      - name: scope
        in: query
        required: false
        schema:
          type: string
          pattern: ^(account|tenant)$
          default: account
          title: Scope
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertSettingsBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertSettingsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-settings/override:
    delete:
      tags:
      - Alerts
      summary: Delete Alert Settings Override
      description: 'Remove this tenant''s override — it reverts to the BA default.


        Tenant-scoped destination rows are kept (inert while no override exists)

        so re-enabling the override restores them.


        **🔐 Required Scopes:** `alerts:update`'
      operationId: delete_alert_settings_override_api_v1_alert_settings_override_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/alert-settings/destinations:
    post:
      tags:
      - Alerts
      summary: Create Alert Destination
      operationId: create_alert_destination_api_v1_alert_settings_destinations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertDestinationCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertDestinationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      description: '**🔐 Required Scopes:** `alerts:update`'
  /api/v1/alert-settings/destinations/{destination_id}:
    put:
      tags:
      - Alerts
      summary: Update Alert Destination
      operationId: update_alert_destination_api_v1_alert_settings_destinations__destination_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          title: Destination Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertDestinationUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertDestinationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: '**🔐 Required Scopes:** `alerts:update`'
    delete:
      tags:
      - Alerts
      summary: Delete Alert Destination
      operationId: delete_alert_destination_api_v1_alert_settings_destinations__destination_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          title: Destination Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: '**🔐 Required Scopes:** `alerts:update`'
  /api/v1/alert-settings/destinations/{destination_id}/send-verification:
    post:
      tags:
      - Alerts
      summary: Send Destination Verification
      description: 'Send a one-time code to the destination via ITS OWN channel

        (SMS / WhatsApp / email). Verifying through the same channel doubles as

        the consent record for utility messages (plan §6.3) — ``verified_at`` is

        only stamped after the code round-trips against the SAME target value

        (security review #1: the code is bound to the phone/email, not the row).


        Abuse limits (#2): per-destination hourly + per-tenant daily send quotas.


        **🔐 Required Scopes:** `alerts:update`'
      operationId: send_destination_verification_api_v1_alert_settings_destinations__destination_id__send_verification_post
      security:
      - HTTPBearer: []
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          title: Destination Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-settings/destinations/{destination_id}/verify:
    post:
      tags:
      - Alerts
      summary: Verify Destination
      operationId: verify_destination_api_v1_alert_settings_destinations__destination_id__verify_post
      security:
      - HTTPBearer: []
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          title: Destination Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationVerifyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: '**🔐 Required Scopes:** `alerts:update`'
  /api/v1/alerts:
    get:
      tags:
      - Alerts
      summary: List Alerts
      description: 'Alert history for this tenant (SHARD), newest first.


        **🔐 Required Scopes:** `alerts:read`'
      operationId: list_alerts_api_v1_alerts_get
      security:
      - HTTPBearer: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Page Size
      - name: severity
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^(warning|high|severe)$
          - type: 'null'
          title: Severity
      - name: alert_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Alert Type
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertHistoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-settings/test:
    post:
      tags:
      - Alerts
      summary: Send Test Alert
      description: 'Send a test alert through the normal dispatch path.


        Founder decision #10: test alerts on paid channels are billed like real

        sends. Throttled (security review #3/#8) and the free-text message is

        dropped in favour of a fixed body (security review #12 — customer text

        must not ride our WABA template / Slack markdown).


        **🔐 Required Scopes:** `alerts:update`'
      operationId: send_test_alert_api_v1_alert_settings_test_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestAlertRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestAlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    PaginationMeta:
      properties:
        total:
          type: integer
          title: Total
          description: Total number of items matching the query
        page:
          type: integer
          minimum: 1.0
          title: Page
          description: Current page number (1-indexed)
        page_size:
          type: integer
          minimum: 1.0
          title: Page Size
          description: Number of items per page
        total_pages:
          type: integer
          title: Total Pages
          description: Total number of pages
        has_next:
          type: boolean
          title: Has Next
          description: Whether there are more pages
        has_prev:
          type: boolean
          title: Has Prev
          description: Whether there are previous pages
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
          description: Cursor for next page (if using cursor pagination)
        prev_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Prev Cursor
          description: Cursor for previous page
      type: object
      required:
      - total
      - page
      - page_size
      - total_pages
      - has_next
      - has_prev
      title: PaginationMeta
      description: 'Pagination metadata for list responses.


        Supports both offset-based and page-based pagination.

        Clients should use page/page_size for new implementations.'
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AlertDestinationResponse:
      properties:
        id:
          type: string
          title: Id
        billing_account_id:
          type: string
          title: Billing Account Id
        tenant_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Tenant Id
        scope:
          type: string
          enum:
          - account
          - tenant
          title: Scope
        channel:
          type: string
          title: Channel
        is_enabled:
          type: boolean
          title: Is Enabled
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
        verified_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Verified At
        needs_attention:
          type: boolean
          title: Needs Attention
          default: false
        last_error:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Error
        last_used_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Used At
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        delivery:
          anyOf:
          - type: string
            enum:
            - webhook
            - bot
          - type: 'null'
          title: Delivery
        slack_channel_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Slack Channel Name
        connection_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Connection Status
      type: object
      required:
      - id
      - billing_account_id
      - scope
      - channel
      - is_enabled
      title: AlertDestinationResponse
    AlertSettingsResponse:
      properties:
        mode:
          type: string
          enum:
          - all
          - by_severity
          - by_type
          title: Mode
          default: all
        severity_matrix:
          anyOf:
          - additionalProperties:
              items:
                type: string
              type: array
            type: object
          - type: 'null'
          title: Severity Matrix
          description: 'severity → list of channels, e.g. {"warning": ["email","in_app"], "severe": ["email","sms"]}. None = catalog defaults.'
        type_overrides:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Type Overrides
          description: Per-alert-type channel overrides. None = none.
        email_always_on:
          type: boolean
          title: Email Always On
          default: true
        monthly_paid_cap_euros:
          anyOf:
          - type: number
          - type: 'null'
          title: Monthly Paid Cap Euros
          description: Monthly paid-alert spend cap in EUR. None = uncapped.
          default: 20.0
        id:
          type: string
          title: Id
        billing_account_id:
          type: string
          title: Billing Account Id
        tenant_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Tenant Id
        scope:
          type: string
          enum:
          - account
          - tenant
          title: Scope
      type: object
      required:
      - id
      - billing_account_id
      - scope
      title: AlertSettingsResponse
    TestAlertResponse:
      properties:
        success:
          type: boolean
          title: Success
        alert_event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Alert Event Id
        note:
          type: string
          title: Note
          default: Test alerts are delivered to your configured channels. Paid channels (SMS €0.10, WhatsApp €0.08 per message) are billed like real alerts.
      type: object
      required:
      - success
      title: TestAlertResponse
    AlertHistoryResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/AlertEventResponse'
          type: array
          title: Items
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
      type: object
      required:
      - items
      - pagination
      title: AlertHistoryResponse
    AlertSettingsBody:
      properties:
        mode:
          type: string
          enum:
          - all
          - by_severity
          - by_type
          title: Mode
          default: all
        severity_matrix:
          anyOf:
          - additionalProperties:
              items:
                type: string
              type: array
            type: object
          - type: 'null'
          title: Severity Matrix
          description: 'severity → list of channels, e.g. {"warning": ["email","in_app"], "severe": ["email","sms"]}. None = catalog defaults.'
        type_overrides:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Type Overrides
          description: Per-alert-type channel overrides. None = none.
        email_always_on:
          type: boolean
          title: Email Always On
          default: true
        monthly_paid_cap_euros:
          anyOf:
          - type: number
          - type: 'null'
          title: Monthly Paid Cap Euros
          description: Monthly paid-alert spend cap in EUR. None = uncapped.
          default: 20.0
      type: object
      title: AlertSettingsBody
      description: PUT body — the winning-scope settings row (all-or-nothing override).
    DestinationVerifyRequest:
      properties:
        code:
          type: string
          maxLength: 8
          minLength: 4
          title: Code
      type: object
      required:
      - code
      title: DestinationVerifyRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AlertDestinationCreate:
      properties:
        channel:
          type: string
          enum:
          - email
          - in_app
          - sms
          - slack
          - whatsapp
          title: Channel
        scope:
          type: string
          enum:
          - account
          - tenant
          title: Scope
          default: account
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
          description: 'Channel payload, e.g. {"email": "ops@acme.com"} or {"phone": "+491701234567"}.'
        is_enabled:
          type: boolean
          title: Is Enabled
          default: true
      type: object
      required:
      - channel
      title: AlertDestinationCreate
    AlertEventResponse:
      properties:
        id:
          type: string
          title: Id
        alert_type:
          type: string
          title: Alert Type
        severity:
          type: string
          title: Severity
        entity_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Type
        entity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Id
        title:
          type: string
          title: Title
        status:
          type: string
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        dispatched_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Dispatched At
      type: object
      required:
      - id
      - alert_type
      - severity
      - title
      - status
      - created_at
      title: AlertEventResponse
    AlertSettingsLayeredResponse:
      properties:
        effective_scope:
          type: string
          enum:
          - account
          - tenant
          - implicit
          title: Effective Scope
        effective:
          anyOf:
          - $ref: '#/components/schemas/AlertSettingsResponse'
          - type: 'null'
        account:
          anyOf:
          - $ref: '#/components/schemas/AlertSettingsResponse'
          - type: 'null'
        tenant:
          anyOf:
          - $ref: '#/components/schemas/AlertSettingsResponse'
          - type: 'null'
        destinations:
          items:
            $ref: '#/components/schemas/AlertDestinationResponse'
          type: array
          title: Destinations
          default: []
        paid_channels_available:
          type: boolean
          title: Paid Channels Available
          default: true
        paid_channels_reason:
          type: string
          title: Paid Channels Reason
          default: ok
        sms_allowed_countries:
          items:
            type: string
          type: array
          title: Sms Allowed Countries
          default: []
      type: object
      required:
      - effective_scope
      title: AlertSettingsLayeredResponse
      description: '3-layer view: what applies (effective) + both stored layers.'
    AlertDestinationUpdate:
      properties:
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
        is_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Enabled
      type: object
      title: AlertDestinationUpdate
    TestAlertRequest:
      properties:
        message:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Message
          description: Optional text shown in the test alert.
      type: object
      title: TestAlertRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer