NetBird Notifications API

Manage notification channels for account event alerts.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/integrations/notifications/types List notification event types · List Notification Event Types #
Ask an LLM
“Which activity event types can I subscribe to in a notification channel?”
“What human-readable description goes with each notification event type code?”
Tell an agent
List all notification event types and their descriptions.
Show me the event type codes I can use for notification channels.
GET /api/integrations/notifications/channels List notification channels · List Notification Channels #
Ask an LLM
“Which notification channels are configured for my account?”
“What targets and event types do my notification channels use?”
Tell an agent
List all notification channels in my account.
Show every notification channel with its target and enabled state.
POST /api/integrations/notifications/channels Create a notification channel · Create Notification Channel #
Ask an LLM
“How do I get email or webhook notifications when a peer goes offline?”
“Can I choose which event types a new notification channel subscribes to?”
Tell an agent
Create a {type} notification channel sending to {target} for event types {event_types}, enabled {enabled}.
Set up a new {type} channel that notifies on {event_types} and is {enabled}.
GET /api/integrations/notifications/channels/{channelId} Get a notification channel · Get Notification Channel #
Ask an LLM
“What target and event types does a specific notification channel use?”
“Is a given notification channel enabled?”
Tell an agent
Show notification channel {channelId}.
Get the target and enabled state of channel {channelId}.
PUT /api/integrations/notifications/channels/{channelId} Update a notification channel · Update Notification Channel #
Ask an LLM
“How do I change which event types an existing notification channel listens to?”
“Can I disable a notification channel without deleting it?”
Tell an agent
Update notification channel {channelId} to send {event_types} as {type} to {target}, enabled {enabled}.
Change channel {channelId} to notify on {event_types} and set enabled to {enabled}.
DELETE /api/integrations/notifications/channels/{channelId} Delete a notification channel · Delete Notification Channel #
Ask an LLM
“How do I stop receiving notifications by removing a channel?”
“Can I delete a notification channel by its ID?”
Tell an agent destructive · confirm first
Delete notification channel {channelId}.
Remove the {channelId} notification channel.

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/netbird:netbird-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

netbird-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NetBird REST Notifications API
  description: API to manipulate groups, rules, policies and retrieve information about peers and users
  version: 0.0.1
servers:
- url: https://api.netbird.io
  description: Default server
security:
- BearerAuth: []
- TokenAuth: []
tags:
- name: Notifications
  description: Manage notification channels for account event alerts.
  x-cloud-only: true
paths:
  /api/integrations/notifications/types:
    get:
      tags:
      - Notifications
      summary: List Notification Event Types
      description: 'Returns a map of all supported activity event type codes to their

        human-readable descriptions. Use these codes when configuring

        `event_types` on notification channels.'
      operationId: listNotificationEventTypes
      responses:
        '200':
          description: A map of event type codes to descriptions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTypeEntry'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
  /api/integrations/notifications/channels:
    get:
      tags:
      - Notifications
      summary: List Notification Channels
      description: Retrieves all notification channels configured for the authenticated account.
      operationId: listNotificationChannels
      responses:
        '200':
          description: A list of notification channels.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NotificationChannelResponse'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
    post:
      tags:
      - Notifications
      summary: Create Notification Channel
      description: 'Creates a new notification channel for the authenticated account.

        Supported channel types are `email` and `webhook`.'
      operationId: createNotificationChannel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationChannelRequest'
      responses:
        '200':
          description: Notification channel created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationChannelResponse'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
  /api/integrations/notifications/channels/{channelId}:
    parameters:
    - name: channelId
      in: path
      required: true
      description: The unique identifier of the notification channel.
      schema:
        type: string
        example: ch8i4ug6lnn4g9hqv7m0
    get:
      tags:
      - Notifications
      summary: Get Notification Channel
      description: Retrieves a specific notification channel by its ID.
      operationId: getNotificationChannel
      responses:
        '200':
          description: Successfully retrieved the notification channel.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationChannelResponse'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
    put:
      tags:
      - Notifications
      summary: Update Notification Channel
      description: Updates an existing notification channel.
      operationId: updateNotificationChannel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationChannelRequest'
      responses:
        '200':
          description: Notification channel updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationChannelResponse'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
    delete:
      tags:
      - Notifications
      summary: Delete Notification Channel
      description: Deletes a notification channel by its ID.
      operationId: deleteNotificationChannel
      responses:
        '200':
          description: Notification channel deleted successfully.
          content:
            application/json:
              schema:
                type: object
                example: {}
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/not_found'
        '500':
          $ref: '#/components/responses/internal_error'
components:
  responses:
    not_found:
      description: Resource not found
      content: {}
    requires_authentication:
      description: Requires authentication
      content: {}
    internal_error:
      description: Internal Server Error
      content: {}
    forbidden:
      description: Forbidden
      content: {}
    bad_request:
      description: Bad Request
      content: {}
  schemas:
    EmailTarget:
      type: object
      description: Target configuration for email notification channels.
      properties:
        emails:
          type: array
          description: List of email addresses to send notifications to.
          minItems: 1
          items:
            type: string
            format: email
          example:
          - admin@example.com
          - ops@example.com
      required:
      - emails
    NotificationChannelRequest:
      type: object
      description: Request body for creating or updating a notification channel.
      properties:
        type:
          $ref: '#/components/schemas/NotificationChannelType'
        target:
          description: 'Channel-specific target configuration. The shape depends on the `type` field:

            - `email`: requires an `EmailTarget` object

            - `webhook`: requires a `WebhookTarget` object

            '
          oneOf:
          - $ref: '#/components/schemas/EmailTarget'
          - $ref: '#/components/schemas/WebhookTarget'
        event_types:
          type: array
          description: List of activity event type codes this channel subscribes to.
          items:
            $ref: '#/components/schemas/NotificationEventType'
          example:
          - user.join
          - peer.user.add
          - peer.login.expire
        enabled:
          type: boolean
          description: Whether this notification channel is active.
          example: true
      required:
      - type
      - event_types
      - enabled
    NotificationTypeEntry:
      type: object
      description: A map of event type codes to their human-readable descriptions.
      additionalProperties:
        type: string
      example:
        user.join: User joined
    NotificationChannelResponse:
      type: object
      description: A notification channel configuration.
      properties:
        id:
          type: string
          description: Unique identifier of the notification channel.
          readOnly: true
          example: ch8i4ug6lnn4g9hqv7m0
        type:
          $ref: '#/components/schemas/NotificationChannelType'
        target:
          description: 'Channel-specific target configuration. The shape depends on the `type` field:

            - `email`: an `EmailTarget` object

            - `webhook`: a `WebhookTarget` object

            '
          oneOf:
          - $ref: '#/components/schemas/EmailTarget'
          - $ref: '#/components/schemas/WebhookTarget'
        event_types:
          type: array
          description: List of activity event type codes this channel subscribes to.
          items:
            $ref: '#/components/schemas/NotificationEventType'
          example:
          - user.join
          - peer.user.add
          - peer.login.expire
        enabled:
          type: boolean
          description: Whether this notification channel is active.
          example: true
      required:
      - id
      - type
      - event_types
      - enabled
    WebhookTarget:
      type: object
      description: Target configuration for webhook notification channels.
      properties:
        url:
          type: string
          format: uri
          description: The webhook endpoint URL to send notifications to.
          example: https://hooks.example.com/netbird
        headers:
          type: object
          additionalProperties:
            type: string
          description: 'Custom HTTP headers sent with each webhook request.

            Values are write-only; in GET responses all values are masked.

            '
          example:
            Authorization: Bearer token
            X-Webhook-Secret: secret
      required:
      - url
    NotificationChannelType:
      type: string
      description: The type of notification channel.
      enum:
      - email
      - webhook
      example: email
    NotificationEventType:
      type: string
      description: 'An activity event type code. See `GET /api/integrations/notifications/types` for the full list

        of supported event types and their human-readable descriptions.

        '
      example: user.join
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Enter the token with the `Token` prefix, e.g. "Token nbp_F3f0d.....".