Posts
Update draft
Edit content, media, targets, or scheduling data while a post remains editable.
Editable states
Published, uploaded, publishing, and queued posts cannot be edited. Use the dedicated schedule, publish, and cancel actions for delivery transitions.
Request
bash
curl -X PATCH https://app.trovv.io/api/v1/posts/POST_ID \
-H "Authorization: Bearer $TROVV_API_KEY" -H "Idempotency-Key: edit-001" \
-H "Content-Type: application/json" -d '{"text":"Updated copy"}'Errors
| Status | Code | Meaning |
|---|---|---|
400 | invalid_request | A parameter or body field is invalid. |
401 | http_401 | The credential is missing, malformed, expired, or revoked. |
403 | http_403 | The credential lacks the required scope or account grant. |
409 | idempotency_conflict | An idempotency key was reused with different input. |
429 | http_429 | The credential exceeded its fixed-minute request limit. |
400 | invalid_state | The post is already delivered or in flight. |
404 | http_404 | The post is absent or inaccessible. |
Was this page helpful?