Blueticks
Scheduled Messages

Update scheduled message

Edit a previously-queued message that has not dispatched yet (status `pending`).

Accepts the same flat body fields as Schedule messagetype, text, mediaUrl, mediaBase64, mediaKind, mediaFilename, pollQuestion, pollOptions, pollAllowMultiple, sendAt, replyTo, secret — but every field is optional. Send only the fields you want to change; at least one is required. The recipient is fixed at schedule time (it was the {chatId} path param) and cannot be changed here.

Notes:

  • A new mediaUrl / mediaBase64 is re-hosted to GCS just like on create; mediaKind / mediaFilename can be edited on their own.
  • Editing text re-derives the link-preview card (auto-attached when the text contains a URL).
  • sendAt reschedules (must be ≥10s in the future, ≤365 days).
  • Returns 400 once the message has advanced past the editable window (status not pending).

Request

curl -X PATCH "https://api.blueticks.co/v1/scheduled-messages/" \  -H "Content-Type: application/json" \  -d '{    "text": ""  }'
PATCH
/v1/scheduled-messages/{id}

Path Parameters

id*string

Request Body

application/json

Response

Response Body

application/json

application/json