dialogbrain-com Notification Preferences API

The notification-preferences API from dialogbrain-com — 2 operation(s) for notification-preferences.

Operations 3

GET /api/workspaces/{workspace_id}/notification-preferences Get Notification Preferences #
PUT /api/workspaces/{workspace_id}/notification-preferences Update Notification Preferences #
GET /api/notifications/event-types Get Event Types #

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/dialogbrain-com:dialogbrain-com-notification-preferences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dialogbrain-com-notification-preferences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway Notification Preferences API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: Notification Preferences
paths:
  /api/workspaces/{workspace_id}/notification-preferences:
    get:
      tags:
      - Notification Preferences
      summary: Get Notification Preferences
      description: Get current user's notification preferences for a workspace.
      operationId: get_notification_preferences_api_workspaces__workspace_id__notification_preferences_get
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: integer
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Notification Preferences
      summary: Update Notification Preferences
      description: Upsert notification preferences for current user in a workspace.
      operationId: update_notification_preferences_api_workspaces__workspace_id__notification_preferences_put
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: integer
          title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/src__api__notification_preferences__NotificationPreferencesUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/notifications/event-types:
    get:
      tags:
      - Notification Preferences
      summary: Get Event Types
      description: List all known notification event types for UI rendering.
      operationId: get_event_types_api_notifications_event_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventTypesResponse'
components:
  schemas:
    src__api__notification_preferences__NotificationPreferencesUpdate:
      properties:
        muted_events:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Muted Events
        telegram_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Telegram Enabled
        whatsapp_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Whatsapp Enabled
      type: object
      title: NotificationPreferencesUpdate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NotificationPreferencesResponse:
      properties:
        muted_events:
          items:
            type: string
          type: array
          title: Muted Events
        telegram_enabled:
          type: boolean
          title: Telegram Enabled
        whatsapp_enabled:
          type: boolean
          title: Whatsapp Enabled
        has_telegram_account:
          type: boolean
          title: Has Telegram Account
        has_whatsapp_account:
          type: boolean
          title: Has Whatsapp Account
      type: object
      required:
      - muted_events
      - telegram_enabled
      - whatsapp_enabled
      - has_telegram_account
      - has_whatsapp_account
      title: NotificationPreferencesResponse
    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
    EventTypesResponse:
      properties:
        event_types:
          items:
            $ref: '#/components/schemas/EventTypeItem'
          type: array
          title: Event Types
      type: object
      required:
      - event_types
      title: EventTypesResponse
    EventTypeItem:
      properties:
        key:
          type: string
          title: Key
        label:
          type: string
          title: Label
      type: object
      required:
      - key
      - label
      title: EventTypeItem