Create or schedule a post
create_publicationPublish or schedule a post to one connected social network, save it as a draft for review, or include previously uploaded media by passing file IDs.
Instructions
Publish now or schedule a post on ONE connected account. Pass state 'ready' with a future publish_date to schedule, or 'draft' to leave it for a person to review. Media has to be uploaded first with upload_media; pass the returned ids in files. The text is validated against the network's limits before anything is sent. Always show the user what you are about to publish and let them confirm it: this posts publicly under their brand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The post body. | |
| files | No | Upload ids from upload_media. | |
| state | No | 'ready' publishes or schedules it; 'draft' just saves it. | ready |
| title | No | Only on networks with a title field, such as YouTube. | |
| id_account | Yes | The connected account to publish on. One post, one account. | |
| publish_date | No | ISO 8601. Leave empty to publish immediately. | |
| social_network | Yes | The account's network: instagram, facebook, linkedin, telegram… | |
| id_organization | No | The PlanVortex organization id. Optional. | |
| publication_type | No | profile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication | Yes | ||
| already_existed | Yes |