> ## 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.

# Update a scheduled message



## OpenAPI

````yaml /openapi/inbox.yaml patch /inbox/scheduled-messages
openapi: 3.1.0
info:
  title: Connie Inbox API
  version: 1.0.0
  description: >
    Unified inbox API for managing conversations across email, WhatsApp, and
    LinkedIn. All endpoints require authentication unless noted otherwise.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Init & Counts
    description: Initialization and conversation counts
  - name: Conversations
    description: Conversation listing and retrieval
  - name: Messages
    description: Message retrieval and read status
  - name: Compose
    description: Sending emails, starting chats, and drafts
  - name: Labels
    description: Label management
  - name: Assignments
    description: Conversation assignment to team members
  - name: Search
    description: Full-text and filtered search
  - name: Attachments
    description: File attachments
  - name: Spam
    description: Spam management
  - name: Views & Starred
    description: Custom views and starred conversations
paths:
  /inbox/scheduled-messages:
    patch:
      tags:
        - Compose
      summary: Update a scheduled message
      operationId: updateScheduledMessage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - messageId
              properties:
                messageId:
                  type: string
                message:
                  type: string
                scheduled_at:
                  type: string
                  format: date-time
                  description: Must be a future timestamp
                status:
                  type: string
                  enum:
                    - cancelled
                    - failed
      responses:
        '200':
          description: Scheduled message updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  scheduledMessage:
                    $ref: '#/components/schemas/ScheduledMessage'
components:
  schemas:
    ScheduledMessage:
      type: object
      properties:
        id:
          type: string
        workspace_id:
          type: string
        chat_id:
          type: string
        account_id:
          type: string
          nullable: true
        message:
          type: string
        scheduled_at:
          type: string
          format: date-time
        platform:
          type: string
          enum:
            - chat
            - email
        status:
          type: string
          enum:
            - pending
            - sent
            - failed
            - cancelled
        created_by:
          type: string
        email_subject:
          type: string
          nullable: true
        email_to:
          type: array
          items:
            type: string
          nullable: true
        email_cc:
          type: array
          items:
            type: string
          nullable: true
        email_bcc:
          type: array
          items:
            type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        contact_name:
          type: string
          nullable: true
        contact_avatar:
          type: string
          nullable: true
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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