> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sazabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List project notification channels

> List a project's notification channels with preferences, prerequisites, connection state, configured destinations, and supported notification types. The personal channel cards (in-app, email, SMS, and Slack) describe the signed-in user, so a session, OAuth, or MCP token shows that user's own state within its project and organization. A secret key is not a person: it sees the personal cards as unavailable, with no destinations.



## OpenAPI

````yaml /openapi.json get /notification-channels
openapi: 3.2.0
info:
  title: Sazabi Public API
  version: 1.0.0
  description: >
    Public REST API for Sazabi. Authenticate using a secret API key in the
    Authorization header.


    ## Pagination


    This API uses two pagination strategies depending on the endpoint type:


    ### Cursor-Based Pagination (List Endpoints)


    List endpoints (threads, messages, keys) use cursor-based pagination for
    efficient, consistent results:


    - **Parameters**: `limit` (items per page, default 50, max 100), `cursor`
    (opaque pagination token)

    - **Response**: Includes `nextCursor` field - pass this as `cursor` in the
    next request

    - **End of results**: When `nextCursor` is `null`, there are no more results

    - **Example**: `GET
    /v1/threads?limit=20&cursor=01234567-89ab-cdef-0123-456789abcdef`


    ### Page-Based Pagination (Search Endpoints)


    Search endpoints use page-based pagination due to the underlying search
    engine:


    - **Parameters**: `limit` (items per page, default 20, max 100), `page`
    (1-indexed page number)

    - **Response**: Includes `pagination` object with `page`, `limit`,
    `totalResults`, `totalPages`

    - **Example**: `GET /v1/search/threads?q=error&limit=10&page=2`
servers:
  - url: https://api.sazabi.com/v1
    description: Production
security: []
tags:
  - name: 'section: Send data'
    summary: Send data
    kind: nav
  - name: 'section: Detect issues'
    summary: Detect issues
    kind: nav
  - name: 'section: Triage issues'
    summary: Triage issues
    kind: nav
  - name: 'section: Ask Sazabi'
    summary: Ask Sazabi
    kind: nav
  - name: 'section: Explore logs'
    summary: Explore logs
    kind: nav
  - name: 'section: Ship fixes'
    summary: Ship fixes
    kind: nav
  - name: 'section: Integrations'
    summary: Integrations
    kind: nav
  - name: 'section: Organization and access'
    summary: Organization and access
    kind: nav
  - name: 'section: Billing'
    summary: Billing
    kind: nav
  - name: 'section: Webhooks and events'
    summary: Webhooks and events
    kind: nav
  - name: 'section: CLI onboarding support'
    summary: CLI onboarding support
    kind: nav
  - name: Log Sources
    summary: Log Sources
    kind: nav
    parent: 'section: Send data'
  - name: Log Streams
    summary: Log Streams
    kind: nav
    parent: 'section: Send data'
  - name: Public Keys
    summary: Public Keys
    kind: nav
    parent: 'section: Send data'
  - name: Signals
    summary: Signals
    kind: nav
    parent: 'section: Detect issues'
  - name: Issues
    summary: Issues
    kind: nav
    parent: 'section: Triage issues'
  - name: Components
    summary: Components
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification delivery rules
    summary: Notification delivery rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification channels
    summary: Notification channels
    kind: nav
    parent: 'section: Triage issues'
  - name: Tasks
    summary: Tasks
    kind: nav
    parent: 'section: Triage issues'
  - name: Task creation rules
    summary: Task creation rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Task status mapping
    summary: Task status mapping
    kind: nav
    parent: 'section: Triage issues'
  - name: Work Items
    summary: Work Items
    kind: nav
    parent: 'section: Triage issues'
  - name: Threads
    summary: Threads
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Messages
    summary: Messages
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Runs
    summary: Runs
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Search
    summary: Search
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Memory
    summary: Memory
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Artifacts
    summary: Artifacts
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Tool permissions
    summary: Tool permissions
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Environment Variables
    summary: Sandbox Environment Variables
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Init Script
    summary: Sandbox Init Script
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Logs
    summary: Logs
    kind: nav
    parent: 'section: Explore logs'
  - name: Dashboards
    summary: Dashboards
    kind: nav
    parent: 'section: Explore logs'
  - name: AgentDispatches
    summary: AgentDispatches
    kind: nav
    parent: 'section: Ship fixes'
  - name: Pull Requests
    summary: Pull Requests
    kind: nav
    parent: 'section: Ship fixes'
  - name: Repos
    summary: Repos
    kind: nav
    parent: 'section: Ship fixes'
  - name: Integrations
    summary: Integrations
    kind: nav
    parent: 'section: Integrations'
  - name: MCP Connectors
    summary: MCP Connectors
    kind: nav
    parent: 'section: Integrations'
  - name: Connected Accounts
    summary: Connected Accounts
    kind: nav
    parent: 'section: Integrations'
  - name: Sandbox CLIs
    summary: Sandbox CLIs
    kind: nav
    parent: 'section: Integrations'
  - name: Auth
    summary: Auth
    kind: nav
    parent: 'section: Organization and access'
  - name: Organizations
    summary: Organizations
    kind: nav
    parent: 'section: Organization and access'
  - name: Projects
    summary: Projects
    kind: nav
    parent: 'section: Organization and access'
  - name: Members
    summary: Members
    kind: nav
    parent: 'section: Organization and access'
  - name: Teams
    summary: Teams
    kind: nav
    parent: 'section: Organization and access'
  - name: SSO
    summary: SSO
    kind: nav
    parent: 'section: Organization and access'
  - name: Secret Keys
    summary: Secret Keys
    kind: nav
    parent: 'section: Organization and access'
  - name: Support Tickets
    summary: Support Tickets
    kind: nav
    parent: 'section: Organization and access'
  - name: Billing
    summary: Billing
    kind: nav
    parent: 'section: Billing'
  - name: Webhooks
    summary: Webhooks
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Webhook events
    summary: Webhook events
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Onboarding
    summary: Onboarding
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Onboarding Tasks
    summary: Onboarding Tasks
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Recommendations
    summary: Recommendations
    kind: nav
    parent: 'section: CLI onboarding support'
paths:
  /notification-channels:
    get:
      tags:
        - Notification channels
      summary: List project notification channels
      description: >-
        List a project's notification channels with preferences, prerequisites,
        connection state, configured destinations, and supported notification
        types. The personal channel cards (in-app, email, SMS, and Slack)
        describe the signed-in user, so a session, OAuth, or MCP token shows
        that user's own state within its project and organization. A secret key
        is not a person: it sees the personal cards as unavailable, with no
        destinations.
      operationId: notificationChannels.getProject
      parameters:
        - name: projectId
          in: query
          schema:
            type: string
            format: uuid
            description: >-
              Project to inspect. Auto-filled from CLI and SDK context when
              omitted.
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  channelCards:
                    type: array
                    minItems: 12
                    maxItems: 12
                    items:
                      type: object
                      properties:
                        channel:
                          enum:
                            - in_app
                            - slack
                            - slack_channel
                            - teams_channel
                            - discord_channel
                            - email
                            - sms
                            - incident_io
                            - pagerduty
                            - rootly
                            - better_stack
                            - webhook
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        scope:
                          enum:
                            - personal
                            - project
                          type: string
                        enabled:
                          anyOf:
                            - type: boolean
                            - type: 'null'
                        preferenceId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        prerequisite:
                          type: object
                          properties:
                            status:
                              enum:
                                - ready
                                - missing
                                - degraded
                                - unavailable
                              type: string
                            statusLabel:
                              type: string
                            message:
                              type: string
                          required:
                            - status
                            - statusLabel
                            - message
                        action:
                          anyOf:
                            - type: object
                              properties:
                                label:
                                  type: string
                                href:
                                  type: string
                              required:
                                - label
                                - href
                            - type: 'null'
                        destinations:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              label:
                                type: string
                              status:
                                enum:
                                  - active
                                  - inactive
                                  - degraded
                                type: string
                              statusLabel:
                                type: string
                              message:
                                type: string
                            required:
                              - id
                              - label
                              - status
                              - statusLabel
                        destinationManagement:
                          enum:
                            - none
                            - slack_channels
                            - teams_channels
                            - integration_connections
                            - webhook_endpoints
                          type: string
                        canCreateDestinations:
                          type: boolean
                          description: >-
                            Whether the connected workspace has granted Sazabi
                            permission to create destinations for this channel.
                            Only the Slack channels card can be true, from the
                            workspace's Slack permissions. It reports that
                            grant, not an operation you can call: the public API
                            has no Slack channel create.
                        supportedNotificationTypes:
                          type: array
                          items:
                            enum:
                              - security_alert
                              - project_created
                              - project_deleted
                              - member_invited
                              - user_removed
                              - mcp_connector_added
                              - mcp_connector_removed
                              - secret_key_created
                              - secret_key_deleted
                              - integration_connected
                              - integration_disconnected
                              - automation_finished
                              - automation_run_failed
                              - issue_triggered
                              - issue_resolved
                              - issue_ignored
                              - issue_rejected
                              - issue_updated
                              - issue_reopened
                              - issue_ongoing
                              - issue_open_digest
                              - signal_created
                              - daily_recap
                              - sandbox_created
                              - sandbox_deleted
                              - log_source_connected
                              - log_source_disconnected
                              - github_connected
                              - github_disconnected
                              - code_repo_connected
                              - code_repo_disconnected
                              - public_key_deactivated
                              - billing_plan_upgrade_applied
                              - billing_plan_downgrade_scheduled
                              - billing_plan_downgrade_applied
                              - billing_credit_balance_low
                              - billing_credit_balance_depleted
                              - billing_budget_threshold_reached
                              - billing_budget_reached
                              - billing_auto_top_up_settings_changed
                              - billing_auto_top_up_failed
                              - billing_invoice_paid
                              - billing_invoice_payment_failed
                              - billing_subscription_cancellation_scheduled
                              - billing_subscription_canceled
                              - billing_payment_method_expiring
                              - billing_payment_method_changed
                              - billing_negative_balance_collected
                              - billing_negative_balance_collection_failed
                            type: string
                      required:
                        - channel
                        - name
                        - description
                        - scope
                        - enabled
                        - preferenceId
                        - prerequisite
                        - action
                        - destinations
                        - destinationManagement
                        - canCreateDestinations
                        - supportedNotificationTypes
                  channels:
                    type: array
                    items:
                      type: object
                      properties:
                        channel:
                          enum:
                            - slack_channel
                            - teams_channel
                            - discord_channel
                            - incident_io
                            - pagerduty
                            - rootly
                            - better_stack
                            - webhook
                          type: string
                        enabled:
                          type: boolean
                        preferenceId:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - channel
                        - enabled
                        - preferenceId
                  notificationTypePreferences:
                    type: array
                    items:
                      type: object
                      properties:
                        channel:
                          enum:
                            - slack_channel
                            - teams_channel
                            - discord_channel
                            - incident_io
                            - pagerduty
                            - rootly
                            - better_stack
                            - webhook
                          type: string
                        notificationType:
                          enum:
                            - security_alert
                            - project_created
                            - project_deleted
                            - member_invited
                            - user_removed
                            - mcp_connector_added
                            - mcp_connector_removed
                            - secret_key_created
                            - secret_key_deleted
                            - integration_connected
                            - integration_disconnected
                            - automation_finished
                            - automation_run_failed
                            - issue_triggered
                            - issue_resolved
                            - issue_ignored
                            - issue_rejected
                            - issue_updated
                            - issue_reopened
                            - issue_ongoing
                            - issue_open_digest
                            - signal_created
                            - daily_recap
                            - sandbox_created
                            - sandbox_deleted
                            - log_source_connected
                            - log_source_disconnected
                            - github_connected
                            - github_disconnected
                            - code_repo_connected
                            - code_repo_disconnected
                            - public_key_deactivated
                            - billing_plan_upgrade_applied
                            - billing_plan_downgrade_scheduled
                            - billing_plan_downgrade_applied
                            - billing_credit_balance_low
                            - billing_credit_balance_depleted
                            - billing_budget_threshold_reached
                            - billing_budget_reached
                            - billing_auto_top_up_settings_changed
                            - billing_auto_top_up_failed
                            - billing_invoice_paid
                            - billing_invoice_payment_failed
                            - billing_subscription_cancellation_scheduled
                            - billing_subscription_canceled
                            - billing_payment_method_expiring
                            - billing_payment_method_changed
                            - billing_negative_balance_collected
                            - billing_negative_balance_collection_failed
                          type: string
                        enabled:
                          type: boolean
                        preferenceId:
                          type: string
                      required:
                        - channel
                        - notificationType
                        - enabled
                        - preferenceId
                  issueNotificationMinSeverity:
                    enum:
                      - low
                      - medium
                      - high
                      - critical
                    type: string
                required:
                  - channelCards
                  - channels
                  - notificationTypePreferences
                  - issueNotificationMinSeverity

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.