AI agent? Read this page as Markdown at /social/post/Create_a_post.md — append .md to any docs URL, or start from /llms.txt.

Create a post

POST/social/{connection_id}/post

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

idstring
Unique identifier for the post
created_atdate
When the post was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
When the post was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
profile_idstring
The social profile (page/handle/listing) that owns this post
parent_post_idstring
The post this one replies to or references
titlestring
Optional post title/headline
bodystring
The main text content of the post
status enum
Valid values:
"DRAFT"
"SCHEDULED"
"PUBLISHED"
"REJECTED"
"PROCESSING"
Publication status of the post
type enum
Valid values:
"POST"
"REPLY"
"REPOST"
"QUOTE"
"EVENT"
The kind of post
media array
Media assets attached to the post
urlstring
Public permalink to the post
languagestring
Language code of the post content
scheduled_atdate
When the post is scheduled to publish (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
call_to_actionobject
Call-to-action button on the post
metricsobject
Engagement metrics for the post

Returns

idstring
Unique identifier for the post
created_atdate
When the post was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
When the post was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
profile_idstring
The social profile (page/handle/listing) that owns this post
parent_post_idstring
The post this one replies to or references
titlestring
Optional post title/headline
bodystring
The main text content of the post
status enum
Valid values:
"DRAFT"
"SCHEDULED"
"PUBLISHED"
"REJECTED"
"PROCESSING"
Publication status of the post
type enum
Valid values:
"POST"
"REPLY"
"REPOST"
"QUOTE"
"EVENT"
The kind of post
media array
Media assets attached to the post
urlstring
Public permalink to the post
languagestring
Language code of the post content
scheduled_atdate
When the post is scheduled to publish (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
call_to_actionobject
Call-to-action button on the post
metricsobject
Engagement metrics for the post
const options = {
  method: 'POST',
  url: 'https://api.unified.to/social/5de520f96e439b002043d8dc/post',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?