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

# Set approval emails for the workspace

> Turns "Email reviewers about approval requests" on or off for everyone in the workspace. When on, a workflow that pauses for approval also emails the reviewers. Any member can change it, and each reviewer's own Approval tasks email preference still applies.




## OpenAPI

````yaml /openapi/notifications.yaml patch /workspaces/{workspaceId}/notification-settings
openapi: 3.1.0
info:
  title: Connie Notifications API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for notifications. They authenticate with
    your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Notifications
    description: The notifications behind the bell in the sidebar.
  - name: Preferences
    description: Which events reach you in the app and by email.
paths:
  /workspaces/{workspaceId}/notification-settings:
    patch:
      tags:
        - Preferences
      summary: Set approval emails for the workspace
      description: >
        Turns "Email reviewers about approval requests" on or off for everyone
        in the workspace. When on, a workflow that pauses for approval also
        emails the reviewers. Any member can change it, and each reviewer's own
        Approval tasks email preference still applies.
      operationId: updateWorkspaceNotificationSettings
      parameters:
        - $ref: '#/components/parameters/workspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email_on_approval
              properties:
                email_on_approval:
                  type: boolean
      responses:
        '200':
          description: Saved.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  email_on_approval:
                    type: boolean
        '400':
          description: '`email_on_approval` is missing or not a boolean.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    workspaceId:
      name: workspaceId
      in: path
      required: true
      description: The workspace id, as in the app URL `connie.ai/<workspaceId>/...`.
      schema:
        type: string
        format: uuid
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message.
        code:
          type: string
          description: >-
            A machine-readable code such as `UNAUTHORIZED`, `FORBIDDEN` or
            `NOT_FOUND`, when the route sets one.
  responses:
    Unauthorized:
      description: No valid session, or the session has expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You are not a member of this workspace, or your role can't do this.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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