Update a post
Change a post's text, media, per-account content or options, or time. A scheduled post can change for every account; a failed or partly published post only for the accounts that failed (then call retry).
PATCH
Change a post's text, media, per-account content or options, or time. A scheduled post can change for every account; a failed or partly published post only for the accounts that failed (then call retry).
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
id*stringFormat
uuidapplication/json- body
text?stringLength
length <= 70000media_ids?array<>Items
items <= 20scheduled_at?stringFormat
date-timetargets?array<>Items
items <= 50OK
application/json- response
post*curl -X PATCH 'https://socmed.growpaces.com/api/v1/posts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "post": { "id": "string", "text": "string", "status": "scheduled", "source": "string", "scheduled_at": "string", "created_at": "string", "created_by": { "id": "string", "name": "string" }, "media": [ { "id": "string", "type": "image", "url": "string" } ], "targets": [ { "id": "string", "account_id": "string", "platform": "string", "username": "string", "display_name": "string", "avatar_url": "string", "status": "pending", "text": "string", "media_ids": [ "string" ], "permalink": "string", "error_code": "string", "error_message": "string", "published_at": "string", "options": { "property1": null, "property2": null } } ] }}