Skip to main content
PATCH
Update a pending scheduled message's time, body (manual only), or cancel-on-reply flag. Creator or team members only.

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

leadId
string
required
scheduledMessageId
string
required

Body

sendAt
string<date-time> | null
body
string | null

Manual messages only; AI messages have no stored body.

cancelOnReply
boolean | null

Response

OK

id
string | null
required
leadId
string | null
required
kind
string | null
required
sendAt
string<date-time>
required
cancelOnReply
boolean
required
status
string | null
required
createdByAccountId
string | null
required
createdAt
string<date-time>
required
sourceId
string | null
body
string | null
channel
string | null
botId
string | null
statusReason
string | null
createdByName
string | null
createdByIconUrl
string | null
sentMessageId
string | null