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

# Update Conversation Scheduled Message

> Updates a scheduled message in a conversation. Only pending messages can be updated.



## OpenAPI

````yaml /openapi/application.json put /api/v1/accounts/{account_id}/conversations/{conversation_id}/scheduled_messages/{id}
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/conversations/{conversation_id}/scheduled_messages/{id}:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/conversation_id'
        schema:
          type: string
        example: sample
      - name: id
        in: path
        schema:
          type: number
        description: ID of the scheduled message
        required: true
        example: 1
    put:
      tags:
        - Scheduled Messages
      summary: Update Conversation Scheduled Message
      description: >-
        Updates a scheduled message in a conversation. Only pending messages can
        be updated.
      operationId: update-conversation-scheduled-message
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/scheduled_message_conversation_create_update_payload
            example:
              scheduled_message:
                content: Hello, this is a scheduled message from the conversation
                scheduled_at: '2026-02-06T15:00:00Z'
                inbox_id: 5
                title: Automatic follow-up
                attachments:
                  - Sample text
                template_params:
                  source: api
                  segment: enterprise
                recurrence_type: none
                recurrence_interval: 1
                recurrence_days:
                  - 1
                recurrence_end_type: never
                recurrence_end_date: '2026-05-20'
                recurrence_max_occurrences: 1
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/scheduled_message_conversation_create_update_payload
            example:
              scheduled_message:
                content: Hello, this is a scheduled message from the conversation
                scheduled_at: '2026-02-06T15:00:00Z'
                inbox_id: 5
                title: Automatic follow-up
                attachments:
                  - Sample text
                template_params:
                  source: api
                  segment: enterprise
                recurrence_type: none
                recurrence_interval: 1
                recurrence_days:
                  - 1
                recurrence_end_type: never
                recurrence_end_date: '2026-05-20'
                recurrence_max_occurrences: 1
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scheduled_message'
              example:
                id: 123
                content: >-
                  Hello {{name}}, your appointment is confirmed for tomorrow at
                  10:00 AM
                scheduled_at: 1738800000
                sent_at: 1
                title: Daily appointment reminder
                inbox_id: 42
                inbox_name: WhatsApp Business
                conversation_id: 567
                contact_id: 789
                contact_name: María González
                contact_phone: '+525512345678'
                contact_email: maria.gonzalez@example.com
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '404':
          description: Scheduled message not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
    conversation_id:
      in: path
      name: conversation_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the conversation
  schemas:
    scheduled_message_conversation_create_update_payload:
      type: object
      properties:
        scheduled_message:
          type: object
          required:
            - content
            - scheduled_at
            - inbox_id
          properties:
            content:
              type: string
              description: The content of the message to be sent
              example: Hello, this is a scheduled message from the conversation
            scheduled_at:
              type: string
              format: date-time
              description: >-
                The date and time when the message should be sent (ISO 8601
                format)
              example: '2026-02-06T15:00:00Z'
            title:
              type: string
              description: Optional title for the scheduled message
              example: Automatic follow-up
            inbox_id:
              type: integer
              description: The ID of the inbox from which the message will be sent
              example: 5
            attachments:
              type: array
              items:
                type: string
                format: binary
              description: Array of files to attach (max 15)
            template_params:
              type: object
              description: WhatsApp template parameters
            recurrence_type:
              type: string
              enum:
                - none
                - daily
                - weekly
                - monthly
                - yearly
              description: The type of recurrence
            recurrence_interval:
              type: integer
              description: Interval for recurrence
            recurrence_days:
              type: array
              items:
                type: integer
              description: Days of the week for weekly recurrence
            recurrence_end_type:
              type: string
              enum:
                - never
                - on_date
                - after_occurrences
              description: How the recurrence should end
            recurrence_end_date:
              type: string
              format: date-time
              description: End date for recurrence
            recurrence_max_occurrences:
              type: integer
              description: Maximum number of occurrences
    scheduled_message:
      type: object
      properties:
        id:
          type: integer
          description: The ID of the scheduled message
          example: 123
        content:
          type: string
          description: The content of the message to be sent
          example: >-
            Hello {{name}}, your appointment is confirmed for tomorrow at 10:00
            AM
        scheduled_at:
          type: integer
          description: The timestamp when the message should be sent (Unix timestamp)
          example: 1738800000
        sent_at:
          type: integer
          nullable: true
          description: The timestamp when the message was actually sent (Unix timestamp)
          example: null
        title:
          type: string
          nullable: true
          description: Optional title for the scheduled message
          example: Daily appointment reminder
        inbox_id:
          type: integer
          description: The ID of the inbox from which the message will be sent
          example: 42
        inbox_name:
          type: string
          description: The name of the inbox
          example: WhatsApp Business
        conversation_id:
          type: integer
          nullable: true
          description: The ID of the conversation if associated with one
          example: 567
        contact_id:
          type: integer
          nullable: true
          description: The ID of the contact to send the message to
          example: 789
        contact_name:
          type: string
          nullable: true
          description: The name of the contact
          example: María González
        contact_phone:
          type: string
          nullable: true
          description: The phone number of the contact
          example: '+525512345678'
        contact_email:
          type: string
          nullable: true
          description: The email of the contact
          example: maria.gonzalez@example.com
        message_id:
          type: integer
          nullable: true
          description: The ID of the actual message after it's sent
          example: null
        created_at:
          type: integer
          description: >-
            The timestamp when the scheduled message was created (Unix
            timestamp)
          example: 1738713600
        status:
          type: string
          enum:
            - pending
            - sent
            - failed
          description: >-
            The status of the scheduled message (pending = waiting to be sent,
            sent = successfully delivered, failed = sending error)
          example: pending
        error_message:
          type: string
          nullable: true
          description: Error message if the sending failed
          example: null
        template_params:
          type: object
          nullable: true
          description: WhatsApp template parameters if using a template
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/scheduled_attachment'
          description: Array of attachments (max 15)
        recurrence_type:
          type: string
          enum:
            - none
            - daily
            - weekly
            - monthly
            - yearly
          description: >-
            The type of recurrence for the scheduled message (none = single
            send, daily = every day, weekly = every week, monthly = every month,
            yearly = once per year)
          example: daily
        recurrence_interval:
          type: integer
          nullable: true
          description: >-
            Interval for recurrence (e.g., 2 for every 2 days/weeks/months, 1
            for every day/week/month)
          example: 1
        recurrence_days:
          type: array
          items:
            type: integer
          nullable: true
          description: >-
            Days of the week for weekly recurrence (0=Sunday, 1=Monday, ...,
            6=Saturday)
          example:
            - 1
            - 3
            - 5
        recurrence_end_type:
          type: string
          enum:
            - never
            - on_date
            - after_occurrences
          nullable: true
          description: >-
            How the recurrence should end (never = infinite, on_date = until
            specific date, after_occurrences = after N times)
          example: never
        recurrence_end_date:
          type: integer
          nullable: true
          description: End date for recurrence if end_type is 'on_date' (Unix timestamp)
          example: null
        recurrence_max_occurrences:
          type: integer
          nullable: true
          description: Maximum number of occurrences if end_type is 'after_occurrences'
          example: null
        recurrence_count:
          type: integer
          description: >-
            Current count of occurrences (how many times this recurring message
            has been sent)
          example: 0
        parent_id:
          type: integer
          nullable: true
          description: >-
            Parent scheduled message ID if this is a recurring occurrence (null
            for original, ID for recurring copies)
          example: null
        assignee_id:
          type: integer
          nullable: true
          description: The ID of the assigned agent who created the scheduled message
          example: 15
        assignee_name:
          type: string
          nullable: true
          description: The name of the assigned agent
          example: Carlos Ramírez
        assignee_avatar_url:
          type: string
          nullable: true
          description: The avatar URL of the assigned agent
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    scheduled_attachment:
      type: object
      properties:
        id:
          type: integer
          description: The ID of the scheduled attachment
          example: 456
        file_type:
          type: string
          enum:
            - image
            - audio
            - video
            - file
          description: >-
            The type of the file (image = photos/pictures, audio = voice
            notes/music, video = video files, file = documents/PDFs)
          example: image
        account_id:
          type: integer
          description: The ID of the account
          example: 1
        external_url:
          type: string
          nullable: true
          description: External URL of the file if hosted externally
          example: https://cdn.example.com/images/promo.jpg
        extension:
          type: string
          nullable: true
          description: File extension (e.g., jpg, png, pdf, mp4)
          example: jpg
        thumb_url:
          type: string
          nullable: true
          description: Thumbnail URL for images/videos
          example: https://cdn.example.com/thumbs/promo_thumb.jpg
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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