Posts

Update post

Updates an existing post. Only draft posts and scheduled posts (more than 5 minutes before their publish time) can be updated; omitted fields are left unchanged.

Billing: Request · Rate limit: 60/min

patch/v1/social/posts/{id}

Request

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

Path parameters

idstring required

Post 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

mediastring[]

Full replace: all existing media attachments are destroyed and replaced. Send an empty array to remove all media

profilesstring[]

Full replace: all existing profile assignments are removed and replaced with the new set (array of profile IDs or platform names)

queue_idstring

Assign the post to a queue

platformsobject

Merged with existing platform params. When sent together with profiles, platform params are applied to the new profile set (same as create)

queue_priority'high' | 'medium' | 'low'

Queue priority

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.