Update Scheduled Message
Updates an existing scheduled message. Only messages with pending status can be updated.
The status field cannot be modified manually - it’s updated automatically when the message is sent or fails.
PATCH
Update Scheduled Message
Autorizações
Parâmetros de caminho
Corpo
The content of the message to be sent. Supports variables for WhatsApp templates.
Examples:
- Simple text: "Hello, your order is ready"
- With variables: "Hi {{name}}, your appointment is on {{date}}"
Exemplo:
"Hello {{customer_name}}, your order #{{order_id}} will arrive tomorrow"
The type of recurrence for the scheduled message.
- none: Send only once (default)
- daily: Repeat every N days
- weekly: Repeat on specific days of the week
- monthly: Repeat every N months
- yearly: Repeat every N years
Opções disponíveis:
none, daily, weekly, monthly, yearly Exemplo:
"daily"
How the recurrence should end.
- never: Continue indefinitely
- on_date: End on a specific date (requires recurrence_end_date)
- after_occurrences: End after N occurrences (requires recurrence_max_occurrences)
Opções disponíveis:
never, on_date, after_occurrences Exemplo:
"never"
Resposta
Success