Skip to main content

PostInput

versions object[]required

At least one version with is_original: true is required.

Possible values: >= 1

  • Array [
  • account_idintegerrequired

    Use 0 for the original/default version.

    is_originalbooleanrequired

    Must be true for the first version.

    content object[]required
  • Array [
  • bodystringnullable

    Post text/caption.

    urlstring<uri>nullable
    mediainteger[]

    Array of media IDs from the media library.

    video_thumbsobject[]
  • ]
  • optionsobject

    Platform-specific publishing options.

  • ]
  • accountsinteger[]

    Account IDs to publish to.

    tagsinteger[]

    Tag IDs to attach.

    datestring<date>
    Example: 2025-06-01
    timestring
    Example: 10:00
    timezonestring
    Example: America/New_York
    scheduleboolean

    Schedule the post for the given date/time.

    schedule_nowboolean

    Publish immediately.

    queueboolean

    Add to the smart publishing queue.

    PostInput
    {
    "versions": [
    {
    "account_id": 0,
    "is_original": true,
    "content": [
    {
    "body": "string",
    "url": "string",
    "media": [
    0
    ],
    "video_thumbs": [
    {}
    ]
    }
    ],
    "options": {}
    }
    ],
    "accounts": [
    0
    ],
    "tags": [
    0
    ],
    "date": "2025-06-01",
    "time": "10:00",
    "timezone": "America/New_York",
    "schedule": true,
    "schedule_now": true,
    "queue": true
    }