Create or schedule a new post. Each social media platform has its own settings schema.
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Body
type"draft" | "schedule" | "now"requiredPost type
datestringrequiredPublish date in UTC ISO format
shortLinkbooleanrequiredWhether to use short links
orderstringOrder of posts
internumberInterval between posts
tagsobject[]requiredvaluestringrequiredlabelstringrequiredpostsobject[]Required if type is not 'draft'
integrationobjectrequiredidstringrequiredIntegration ID
valueobject[]requiredcontentstringrequiredPost text content
idstringPost ID (for updates)
imageobject[]groupstringGroup ID for related posts
settingsobject (one of the platform schemas)Provider-specific settings
Request
curl -X POST 'https://tryferra.co/api/public/v1/posts' \
-H 'Authorization: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"type": "draft",
"date": "string",
"shortLink": false,
"order": "string",
"inter": 0,
"tags": [
{
"value": "string",
"label": "string"
}
],
"posts": [
{
"integration": {
"id": "string"
},
"value": [
{
"content": null,
"id": null,
"image": null
}
],
"group": "string",
"settings": "string"
}
]
}'Responses
200Post created successfully
[
{
"postId": "post-123",
"integration": "integration-456"
}
]Post type: now, schedule, or draft
The top-level type field controls when (and whether) the post is published:
| Value | Behaviour |
|---|---|
"now" | Publish immediately. date is ignored. |
"schedule" | Publish at the time given in date (ISO 8601). |
"draft" | Save as a draft. The post is created and stored against the integration but not scheduled or published. You can promote it to a real post later from the Ferra UI. |
Drafts are how you stage content via the API without committing to a publish time, useful for content review workflows or pre-filling a calendar from an external CMS.
Duplicating a post
There is no dedicated duplicate / clone endpoint. To copy an existing post, fetch it with GET /posts and submit the content as a new POST /posts request.
Before re-submitting, strip the server-managed fields from the fetched object, re-sending them either causes validation errors or, worse, accidentally updates the original. At minimum drop:
idand any nested post IDscreatedAt,updatedAt, and any other timestampsstate/status/releaseId(these are assigned by the scheduler)- Anything else the API didn't ask you to provide when you originally created the post
Then set a fresh type (now, schedule, or draft) and date, and POST the cleaned object.
Image alt text (alt)
Each media object in a post's image array accepts an optional alt field: a text description of the image for accessibility.
{
"image": [{ "id": "img-123", "path": "https://tryferra.co/uploads/sunset.jpg", "alt": "A sunset over the sea" }]
}
Providers that support alt text (Instagram, Instagram Standalone, Bluesky, Mastodon, Slack, Tumblr) send it with the image; other providers ignore the field. Instagram applies it to images only (single images and carousel items, up to 1000 characters), not to videos or stories.
Video cover frame (thumbnailTimestamp)
Each media object in a post's image array accepts an optional thumbnailTimestamp field: the number of milliseconds into the video to use as the cover/thumbnail frame.
{
"image": [{ "id": "vid-123", "path": "https://tryferra.co/uploads/video.mp4", "thumbnailTimestamp": 3000 }]
}
Supported providers: Instagram, Instagram Standalone, TikTok Business, and TikTok (Direct Post only: the UPLOAD/inbox flow does not support cover selection). Other providers ignore the field.
For TikTok, in our testing the cover was applied only to public posts (privacy_level: "PUBLIC_TO_EVERYONE"); posts published with a restricted privacy level kept the first frame as the cover.
Provider-Specific Settings
When creating posts, each social media platform requires different settings. The settings object must include a __type field that identifies the platform.
All 27 Supported Platforms
| Platform | __type | Required Settings |
|---|---|---|
| X (Twitter) | x | who_can_reply_post (optional: community, made_with_ai, paid_partnership) |
linkedin | - | |
| LinkedIn Page | linkedin-page | - |
facebook | - (optional: url) | |
| Instagram (FB-linked) | instagram | post_type |
| Instagram Standalone | instagram-standalone | post_type |
| Threads | threads | - |
| Bluesky | bluesky | - |
| Mastodon | mastodon | - |
| Warpcast (Farcaster) | warpcast | - (optional: subreddit[] for channels) |
| Nostr | nostr | - |
| VK | vk | - |
Platforms Without Custom Settings
These platforms only need the __type field:
{
"settings": {
"__type": "threads"
}
}
Platforms: threads, mastodon, bluesky, telegram, nostr, vk
Detailed Provider Settings
See the Provider Settings section for detailed schemas and examples for each platform.