Messages

Edit message

Edit a previously sent message. Platform support:

  • Telegram: text and/or reply markup, any time
  • 'iMessage: text only, within 15 minutes of sending (Apple''s limit; 409 edit_window_expired after that). Group messages included. The stored message keeps its edit history.'
  • All others: returns 400

Billing: Request; paid actions are priced in credits (see GET /v1/messaging/prices) · Rate limit: 60/min

patch/v1/messaging/inbox/conversations/{conversationId}/messages/{messageId}

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/inbox/conversations/{conversationId}/messages/{messageId}
  • Auth: HTTP bearer

Path parameters

messageIdstring required

The platform message ID to edit (iMessage also accepts the Zernio message id)

conversationIdstring required

The conversation ID

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

textstring

New message text

accountIdstring required

Account ID

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.