Posts

Publish a post.

post/api/v1/posts

Request

Request body multipart/form-data

account_idstring required

The id of the account to perform the request from.

textstring required

Linkedin: You can add a mention by inserting the index of the corresponding entry from the mentions array between two double braces. Example: Hey {{0}}, check this out ! <br> Instagram: To mention a user, use the @ symbol followed by their username. On a story, each mention is drawn on the media as a tappable @username sticker and the user is notified; the surrounding text is not displayed. A username that matches no account is left as plain text. Up to 10 mentions per story.

attachmentsstring[]

On linkedin, image file resolution is limited to 6012px x 6012px max.

video_thumbnailstring binary
repoststring

The id of an existing LinkedIn post to publish as repost. For a simple repost without commentary, text should be an empty string.

include_job_postingstring

Linkedin only The ID of a job posting that should be displayed within a preview card.

external_linkstring

Linkedin only An external link that should be displayed within a preview card. The URL must also be included in the post textual content. Otherwise, it will be automatically added at the end.

as_organizationstring

Linkedin only Provide the ID of an organization over which you have control to perform the action on its behalf.

locationstring

Instagram only: The location to tag in the post. The best match for the query is used, and a query matching no place leaves the post untagged. On a story, the location is also drawn on the media as a tappable sticker.

Response

Created. Post published successfully.

object'PostCreated' required

Changes

    • warning

      added the new errors/password_reset_required enum value to the response property for the response status

    • info

      added the new optional request property