Comment a post

Comment a post or reply to a post comment.

Path Params
string
required

The ID of the associated post.
Linkedin: use the social_id from the post object (GET post or list posts). The post id visible in url will not work in all case, you can refer here for more details : https://developer.unipile.com/docs/posts-and-comments
Instagram Post short code dont work on this route, please use the provider_id instead.

Body Params
string
required
length ≥ 1

The id of the account to perform the request from.

string
required
length between 1 and 1250

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 !
Instagram: You can mention users by inserting their username in the text, like @username.

mentions
array of objects

Linkedin only

mentions
string
string
length ≥ 1

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

string
length ≥ 1

The id of the comment to reply to. Linkedin: use the comment id returned by the comments list.

attachments
array of files

On linkedin, only one image file is accepted with a resolution limited to 6012px x 6012px max.

attachments
Responses

Language
Credentials
Header
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json