Edit, delete and review posts
After a post is created you can still change it: move its time, rewrite its caption, take it off the platform, or send a client a link to approve it first. The same actions are in the dashboard under Posts and Calendar.
Updated
Change a post that hasn't gone out
curl -X PATCH https://ugcapi.dev/v1/posts/post_123 \
-H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json" \
-d '{"caption": "New hook #ugc", "scheduled_at": "2026-12-02T17:00:00Z"}'Send caption, scheduled_at or both. Every result that is still waiting changes; results already published keep what they went out with. A new time moves all waiting results by the same amount, so Story frames still follow the post. The caption is trimmed to each platform's limit again, and anything trimmed comes back in warnings. To change the media or the accounts, cancel the post (DELETE /v1/posts/:id) and create a new one.
Add "apply_to_published": true to also change the text of a Facebook feed post that is already live. Facebook is the only platform that lets an app edit a published post.
Delete a published post
curl -X POST https://ugcapi.dev/v1/posts/post_123/remove \
-H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json" \
-d '{}'This takes the post off the platform. Send {"results": ["dlv_…"]} to delete only some results. The response is the post plus a removed list with ok or an error per result; removed results get status: "removed" and you receive a post.removed webhook. Credits stay spent, because the post did go out.
| Platform | Delete by API | Edit after publishing |
|---|---|---|
| Facebook Page post | Yes | Text, with apply_to_published |
| Facebook Reel | Yes | In the Facebook app |
| Facebook Story | Ends after 24 hours | In the Facebook app |
| In the Instagram app | In the Instagram app | |
| TikTok | In the TikTok app | In the TikTok app |
| YouTube | In YouTube Studio | In YouTube Studio |
Each result in GET /v1/posts/:id carries can_remove, so your product can show a delete button only where it works.
Share a post for review
curl https://ugcapi.dev/v1/review-links \
-H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json" \
-d '{"post_id": "post_123"}'The response has a url. Anyone with it sees the media, the caption, and where and when it goes, and can approve, ask for changes or comment, with no account. Use campaign_id to share every post of a campaign on one page. A link works for 30 days; asking again returns the same link with a fresh 30 days, and DELETE /v1/review-links/:id turns it off.
Read what reviewers wrote with GET /v1/review-links?post_id=post_123 (or campaign_id=). Each comment has author, body, decision (approved, changes or null) and created_at. A review.comment webhook fires for each one, so you can hold a post until it is approved and move it with PATCH when it is.
Media library
Every file you upload with POST /v1/media, or that we copy in for a post, is in your library.
| Call | What it does |
|---|---|
GET /v1/media | Files, newest first. Filters: kind (video or image), q (file name), keep=true. Pages with cursor. |
POST /v1/media?name=hero.mp4 | Upload the raw file body; name is optional and searchable. Returns id and url. |
PATCH /v1/media/:id | Rename (name) or keep a file past the cleanup (keep: true). |
DELETE /v1/media/:id | Delete a file now. A file a waiting post needs returns media_in_use. |
A file is removed 7 days after upload, unless a waiting post still needs it or you keep it. Each file shows expires_at, in_use and keep. A workspace can keep 1 GB.
Facebook Stories
Set "facebook": { "story": true } in options to also post to the Page's Story: one frame for a video or image, one per slide (up to 10) for a slideshow. "feed": false posts the Story alone, story_slides: "first" sends only the first slide, and story_media gives the Story its own 9:16 files. Images are padded to 9:16 unless you set fit. Story videos run 3 to 60 seconds.
FAQ
Can I change the video of a scheduled post?
Not in place. Cancel the post, which refunds its credits, and create a new one with the new file.
Does deleting a post refund the credit?
No. A credit pays for publishing, and the post was published. Cancelling a post before it goes out does refund it.
Does the reviewer need a UGC API account?
No. The link is the only thing they need, so send it only to people who should see the post.
What happens to a kept file?
It stays until you delete it or stop keeping it. Then the normal 7-day rule applies again from its upload date.