Replaces the attachments (media) of the post with the given list. The list replaces all the existing attachments, so pass the full list the post should have; an empty list removes them all. Only the attachments of the main post change: the attachments of its comments, the content, the settings and the publish date are untouched, so a running publishing workflow is not restarted. The post is re-validated with the new attachments. Works only on not-yet-published posts (scheduled or draft).
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Parameters
idstringrequiredpath · Post ID
Body
attachmentsobject[]requiredThe full new list of attachments of the post. An empty array removes all the attachments.
idstringrequiredpathstringrequiredthumbnailTimestampnumberMilliseconds into the video to use as the cover/thumbnail frame. Supported by Instagram, Instagram Standalone, TikTok Business, and TikTok (Direct Post only, not the UPLOAD/inbox flow); other providers ignore it. For TikTok, in our testing the cover was applied only to public posts (privacy_level PUBLIC_TO_EVERYONE).
Request
curl -X PUT 'https://tryferra.co/api/public/v1/posts/{id}/attachments' \
-H 'Authorization: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"attachments": [
{
"id": "img-1",
"path": "https://tryferra.co/uploads/photo.jpg"
}
]
}'Responses
200Post attachments updated successfully
{
"postId": "post-123",
"publishDate": "2026-08-01T10:00:00"
}