Platforms and settings
Platforms you can connect
The identifier is the identifier in GET /integrations and the :platform in GET /social/:platform.
| Platform | Identifier | Plans |
|---|---|---|
| Facebook Page | facebook |
Starter, Pro, Business |
| Instagram (with Facebook Page) | instagram |
Starter, Pro, Business |
| Instagram (no Facebook Page) | instagram-standalone |
Starter, Pro, Business |
linkedin |
Starter, Pro, Business | |
| TikTok | tiktok |
Starter, Pro, Business |
pinterest |
Starter, Pro, Business | |
| YouTube | youtube |
Pro, Business |
| Threads | threads |
Pro, Business |
| Bluesky | bluesky |
Pro, Business |
| Mastodon | mastodon |
Pro, Business |
| Telegram | telegram |
Pro, Business |
| Google Business Profile | gmb |
Pro, Business |
| LinkedIn Page | linkedin-page |
Business (early access) |
| X | x |
Business |
| Discord | discord |
Business |
| Slack | slack |
Business |
| WordPress | wordpress |
Business |
Asking to connect a platform outside your plan answers 402.
LinkedIn Pages are in early access: a workspace can connect up to 5 Pages (a sixth answers 403), and each Page takes one post a day, counted by UTC day. A second post for the same Page and day answers 400; drafts do not count.
Bluesky, Telegram and WordPress are connected in the Postra app, not through GET /social/:platform. Once connected, you post to them through the API like any other channel.
Google Business Profile signs in through GET /social/gmb like the other platforms, then asks which business location to post to. Choose it in the Postra app; each location is a channel of its own.
Text and media rules
Postra checks every post against these rules before it saves it. A post that breaks one gets a 400 naming the channel.
| Platform | Most characters | Media |
|---|---|---|
| Facebook Page | 63,206 | Text only, photos, or a video. A story needs at least one photo or video. |
| 2,200 | At least one photo or video, up to 10. A trial reel is one video. | |
| 3,000 | One video on its own, or images. A carousel needs 2 or more images and no video. Follow-up parts (comments) are text only. | |
| TikTok | 2,000 | At least one item: one video, or one or more pictures. Never a video with other items. Pictures up to 1080 px on the shorter side. |
| 500 | Up to 5 images, or one video with a cover image as the second file. A pin needs a picture. Several images must have the same width and height. | |
| YouTube | 5,000 | Exactly one video. |
| Threads | 500 | No extra checks |
| Bluesky | 300 | Up to 4 pictures, or 1 video, in each part. |
| Mastodon | 500 | Up to 4 images, or 1 video or GIF on its own, in each part. |
| Telegram | 4,096 | No extra checks |
| Google Business Profile | 1,500 | Text only, or one photo. No video. An event needs a title. |
| X | 280, or 4,000 for X Premium accounts | Up to 4 images, or 1 video or GIF on its own, in each part. |
| Discord | 1,980 | No extra checks |
| Slack | 3,000 | No extra checks |
| WordPress | 100,000 | One optional featured image in settings. |
On X and Mastodon, a link counts as 23 characters, as it does on the platform itself.
GET /integration-settings/:id gives you the same rules and limits for one of your channels.
Settings for each platform
Platform options go in settings, next to integration and value in each item of posts:
{
"integration": { "id": "8d3f1c2a-5b6e-4f7a-9c0d-1e2f3a4b5c6d" },
"value": [{ "content": "Fresh sourdough every Saturday.", "image": [] }],
"settings": { "who_can_reply_post": "everyone" }
}
Platforms with required settings: Instagram, TikTok, Pinterest, YouTube, X, Discord, Slack and WordPress. A post without them is refused with 400, drafts included.
Threads, Bluesky and Telegram have no settings. Leave settings out.
Facebook Page (facebook)
All settings are optional.
| Field | Values | Meaning |
|---|---|---|
post_type |
post or story |
A normal post or a story. Default post. |
url |
A web address | A link shown as a preview card, on text posts without media |
Instagram (instagram and instagram-standalone)
Both Instagram identifiers take the same settings.
| Field | Required | Values | Meaning |
|---|---|---|---|
post_type |
yes | post or story |
A normal post or a story |
is_trial_reel |
no | true or false |
A trial reel: shown only to people who do not follow you, at first |
graduation_strategy |
no | MANUAL or SS_PERFORMANCE |
How a trial reel reaches your followers: by hand, or automatically based on how it performs. Default MANUAL. |
collaborators |
no | A list of {"label": "username"} |
Accounts to invite as collaborators. Not used for stories. |
"settings": {
"post_type": "post",
"collaborators": [{ "label": "northsidecoffee" }]
}
LinkedIn and LinkedIn Page (linkedin, linkedin-page)
All settings are optional.
| Field | Values | Meaning |
|---|---|---|
post_as_images_carousel |
true or false |
Publish the images as a carousel |
carousel_name |
Text | Name of the carousel slides. Default slides. |
TikTok (tiktok)
| Field | Required | Values | Meaning |
|---|---|---|---|
privacy_level |
yes | PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY |
Who can see the post |
duet |
yes | true or false |
Allow duets |
stitch |
yes | true or false |
Allow stitches |
comment |
yes | true or false |
Allow comments |
autoAddMusic |
yes | yes or no |
Let TikTok add music to a photo post |
brand_content_toggle |
yes | true or false |
The post promotes a third party (branded content) |
brand_organic_toggle |
yes | true or false |
The post promotes your own business |
content_posting_method |
yes | DIRECT_POST or UPLOAD |
Publish straight away, or send it to TikTok to finish and publish in the TikTok app |
disclose |
no | true or false |
The post is commercial content |
title |
no | Up to 90 characters | Title of a photo post |
video_made_with_ai |
no | true or false |
The content was made with AI |
Rules for direct posts:
- With
disclose: true, setbrand_organic_toggleorbrand_content_toggle(or both) totrue. - Branded content (
brand_content_toggle: true) cannot useSELF_ONLY. - TikTok can limit which privacy levels an account may use.
"settings": {
"privacy_level": "PUBLIC_TO_EVERYONE",
"duet": false,
"stitch": false,
"comment": true,
"autoAddMusic": "no",
"brand_content_toggle": false,
"brand_organic_toggle": false,
"content_posting_method": "DIRECT_POST"
}
YouTube (youtube)
| Field | Required | Values | Meaning |
|---|---|---|---|
title |
yes | 2 to 100 characters | Video title. The post text becomes the description. |
type |
yes | public, private or unlisted |
Who can see the video |
selfDeclaredMadeForKids |
no | yes or no |
The video is made for children |
thumbnail |
no | {"id", "path"} of an uploaded image |
Custom thumbnail. See Uploading media. |
tags |
no | A list of {"value", "label"} |
Video tags. 500 characters at most for all tags together. |
"settings": {
"title": "Our autumn menu",
"type": "public",
"selfDeclaredMadeForKids": "no",
"tags": [{ "value": "baking", "label": "baking" }]
}
X (x)
| Field | Required | Values | Meaning |
|---|---|---|---|
who_can_reply_post |
yes | everyone, following, mentionedUsers, subscribers, verified |
Who can reply |
community |
no | https://x.com/i/communities/<number> |
Post to an X community |
made_with_ai |
no | true or false |
The content was made with AI |
paid_partnership |
no | true or false |
The post is a paid partnership |
"settings": {
"who_can_reply_post": "everyone"
}
Mastodon (mastodon)
All settings are optional.
| Field | Values | Meaning |
|---|---|---|
visibility |
public (default), unlisted, private |
Who can see the post: everyone; everyone, but not in public timelines; followers only. |
Replies in a thread go out with the same visibility as the post.
Discord (discord)
| Field | Required | Values | Meaning |
|---|---|---|---|
channel |
yes | A Discord channel id | The Discord channel to post in. It must be on the server you connected. |
To list the channels you can use, run the channel’s channels tool:
curl https://app.postra.co.uk/api/public/v1/integration-trigger/3b9e2d1f-6a7c-4b8d-9e0f-1a2b3c4d5e6f \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"methodName": "channels", "data": {}}'
Then use an id from the answer:
"settings": {
"channel": "1234567890123456789"
}
Pinterest (pinterest)
| Field | Required | Values | Meaning |
|---|---|---|---|
board |
yes | A numeric board id | The board the pin goes to. Run the channel’s boards tool for the ids; a board name is refused. |
title |
no | Up to 100 characters | The pin title. |
link |
no | A URL | Where the pin leads. |
Google Business Profile (gmb)
All settings are optional. Without them the post is an update.
| Field | Required | Values | Meaning |
|---|---|---|---|
topicType |
no | STANDARD, EVENT, OFFER |
Update, event or offer. |
callToActionType |
no | NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, CALL |
The button under the post. CALL rings the number on the business profile and needs no link. |
callToActionUrl |
with any button but CALL |
A URL | Where the button leads. |
eventTitle |
for EVENT |
Text | The event title. |
eventStartDate, eventEndDate |
for EVENT |
YYYY-MM-DD |
When the event runs. |
eventStartTime, eventEndTime |
no | HH:MM |
Times of day, if any. |
offerCouponCode |
no | Text | The coupon code of an offer. |
offerRedeemUrl |
no | A URL | Where the offer is redeemed. |
offerTerms |
no | Text | The offer’s terms and conditions. |
Google checks each post: one it refuses under its content policy fails with that reason.
Slack (slack)
| Field | Required | Values | Meaning |
|---|---|---|---|
channel |
yes | A Slack channel id | The Slack channel to post in: a public channel of the workspace. Run the channel’s channels tool for the ids. |
WordPress (wordpress)
| Field | Required | Values | Meaning |
|---|---|---|---|
title |
yes | At least 2 characters | The post title. |
type |
yes | A content type, for example posts or pages |
Where it is published. Run the channel’s postTypes tool for the types your site offers. |
main_image |
no | { "id": "...", "path": "https://..." } from an upload |
The featured image. |
The post is published straight away on your site; its link comes back as the post’s release URL.