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

# Create a shared email destination

> Creates a `shared_email` destination with status `pending` and sends a verification
email to the address. The link expires after 7 days. The destination cannot receive
notifications until the recipient confirms. Addresses belonging to project members
are rejected; those members manage their own personal notification preferences in
the Kapso app.

Slack channels are added from the Kapso app under **Notifications**. Once connected
they appear in `GET /notifications/destinations` and can be routed like any other
destination. Requesting `kind: slack_channel` here returns `400`.

Creating a destination for an address that was previously removed reuses the
existing destination: it returns to `pending` and a new verification email is sent.




## OpenAPI

````yaml /api/platform/v1/openapi-platform.yaml post /notifications/destinations
openapi: 3.1.0
info:
  title: Kapso Platform API
  version: 0.2.0
  description: >
    Build WhatsApp messaging into your product. Manage customers, connect phone
    numbers, send broadcasts, and handle conversations.
servers:
  - url: https://api.kapso.ai/platform/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Customers
    description: Manage customer accounts
  - name: Setup Links
    description: WhatsApp onboarding via embedded signup
  - name: Phone Numbers
    description: Connect and manage WhatsApp numbers
  - name: Webhooks
    description: Subscribe to WhatsApp events
  - name: Display Names
    description: Update WhatsApp business display names
  - name: Broadcasts
    description: |
      Send template messages at scale

      **Alpha**: This API is in alpha and subject to change
  - name: Conversations
    description: Manage conversation state
  - name: Media
    description: Upload media files for WhatsApp messaging
  - name: Users
    description: Manage project team members
  - name: Inbox Embeds
    description: Create and manage embeddable inbox access links
  - name: Webhook Deliveries
    description: View webhook delivery attempts and their status
  - name: External API Logs
    description: View logs of external API calls made by the project
  - name: Log Search
    description: Search log events across API, Meta, workflow, and webhook sources
  - name: Events
    description: Emit and query project-scoped events
  - name: Provider Models
    description: List available AI provider models
  - name: WhatsApp Flows
    description: Build interactive WhatsApp Flows for surveys and forms
  - name: Contacts
    description: Manage WhatsApp contacts
  - name: Findings
    description: Detect recurring problems in conversations and investigate them with AI
  - name: Notifications
    description: >-
      Route project alerts to shared inboxes and Slack channels connected from
      the Kapso app
paths:
  /notifications/destinations:
    post:
      tags:
        - Notifications
      summary: Create a shared email destination
      description: >
        Creates a `shared_email` destination with status `pending` and sends a
        verification

        email to the address. The link expires after 7 days. The destination
        cannot receive

        notifications until the recipient confirms. Addresses belonging to
        project members

        are rejected; those members manage their own personal notification
        preferences in

        the Kapso app.


        Slack channels are added from the Kapso app under **Notifications**.
        Once connected

        they appear in `GET /notifications/destinations` and can be routed like
        any other

        destination. Requesting `kind: slack_channel` here returns `400`.


        Creating a destination for an address that was previously removed reuses
        the

        existing destination: it returns to `pending` and a new verification
        email is sent.
      operationId: createNotificationDestination
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - kind
                - address
              properties:
                kind:
                  type: string
                  enum:
                    - shared_email
                address:
                  type: string
                  description: Email address.
                label:
                  type: string
                  description: Display name for the destination. Optional.
            example:
              kind: shared_email
              address: ops@example.com
              label: Ops inbox
      responses:
        '201':
          description: Destination created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/NotificationDestination'
              example:
                data:
                  id: 6f708192-0314-42d5-b6e7-f8091a2b3c4d
                  kind: shared_email
                  label: Ops inbox
                  status: pending
                  channel: email
                  address: ops@example.com
                  verified_at: null
                  slack_channel_binding_id: null
                  workspace_name: null
                  user_id: null
                  created_at: '2026-09-01T11:58:00.000000Z'
                  updated_at: '2026-09-01T11:58:00.000000Z'
        '400':
          description: Unsupported destination kind
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Add Slack channels through the dashboard.
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '422':
          description: Invalid destination
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
              examples:
                member_address:
                  value:
                    errors:
                      base:
                        - >-
                          This email belongs to a project member. Use a shared
                          inbox for team alerts.
                suppressed_address:
                  value:
                    errors:
                      base:
                        - >-
                          This email address is blocked from receiving emails.
                          Use a different shared inbox.
components:
  schemas:
    NotificationDestination:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - shared_email
            - slack_channel
        label:
          type: string
          nullable: true
          description: >-
            Display name. For `slack_channel` destinations this is the channel
            name.
        status:
          type: string
          enum:
            - pending
            - active
            - unhealthy
          description: >
            A `shared_email` destination is created as `pending` and becomes
            `active` once the

            recipient opens the verification link. Slack destinations are
            `active` on creation

            and become `unhealthy` when the channel can no longer be posted to.
            Removed

            destinations are disabled and no longer listed.
        channel:
          type: string
          enum:
            - email
            - slack
        address:
          type: string
          description: Email address, or Slack channel ID for `slack_channel` destinations.
        verified_at:
          type: string
          format: date-time
          nullable: true
        slack_channel_binding_id:
          type: string
          format: uuid
          nullable: true
          description: >-
            Kapso Agent channel binding, or `null` for channels connected only
            for notifications.
        workspace_name:
          type: string
          nullable: true
          description: Slack workspace name, when the destination is a Slack channel.
        user_id:
          type: string
          format: uuid
          nullable: true
          description: Always `null` for team destinations.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  responses:
    UnauthorizedError:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````