Direct Messages

Edit message (Telegram only)

Edit a previously-sent outbound message on the platform. Telegram only — calling this on a non-Telegram message returns 422. Edits update both the platform-side message and the Postproxy record; external_edited_at is set and a message.edited webhook fires.

Billing: Engagement action (request) · Rate limit: 60/min

patch/v1/social/messages/{id}

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/social/messages/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Message ID — accepts the Postproxy hashid or the platform's external_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

bodystring

New text. For media messages this becomes the new caption.

reply_markupobject

New inline keyboard (or other reply_markup). Pass an empty {} to remove the existing keyboard.

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.