Reschedule a scheduled message
Requires scope: manage. Moves a scheduled send to a new future scheduled_at, and raises message.scheduled again with the new scheduled_at and the previous_scheduled_at it replaced. It needs the send scope as well as manage, and a live key for a live message (403 live_mode_required); the key that scheduled the send keeps answering for it. A send that failed only because its agent was paused or archived when it came due (status: rejected, metadata.rejected_reason starting agent_paused: or agent_archived:) is scheduled again by the same call once a paused agent is resumed: that needs a scheduled_at, and answers 422 agent_paused while the agent is still paused. Archiving cannot be undone, so one whose agent was archived answers 404 agent_archived. A message that changed while it was being rescheduled (it started sending, or was canceled or scheduled again) answers 409 duplicate_resource.
Request
- Base URL: https://api.mails.ai
- URL: https://api.mails.ai/v1/messages/{id}
- Auth: HTTP bearer
Path parameters
Sent message id with status scheduled, or rejected because its agent was paused or archived.
Request body
Response
The updated schedule.
Changes
No recorded changes to this operation across all 1 revision of this API.