Skip to content

Latest commit

 

History

History
314 lines (184 loc) · 11.5 KB

File metadata and controls

314 lines (184 loc) · 11.5 KB

\CommentsApi

All URIs are relative to https://zernio.com/api

Method HTTP request Description
delete_inbox_comment DELETE /v1/inbox/comments/{postId} Delete comment
get_inbox_post_comments GET /v1/inbox/comments/{postId} Get post comments
hide_inbox_comment POST /v1/inbox/comments/{postId}/{commentId}/hide Hide comment
like_inbox_comment POST /v1/inbox/comments/{postId}/{commentId}/like Like comment
list_inbox_comments GET /v1/inbox/comments List commented posts
reply_to_inbox_post POST /v1/inbox/comments/{postId} Reply to comment
send_private_reply_to_comment POST /v1/inbox/comments/{postId}/{commentId}/private-reply Send private reply
unhide_inbox_comment DELETE /v1/inbox/comments/{postId}/{commentId}/hide Unhide comment
unlike_inbox_comment DELETE /v1/inbox/comments/{postId}/{commentId}/like Unlike comment

delete_inbox_comment

models::DeleteInboxComment200Response delete_inbox_comment(post_id, account_id, comment_id) Delete comment

Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn. Requires accountId and commentId query parameters.

Parameters

Name Type Description Required Notes
post_id String Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID. [required]
account_id String [required]
comment_id String [required]

Return type

models::DeleteInboxComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_inbox_post_comments

models::GetInboxPostComments200Response get_inbox_post_comments(post_id, account_id, subreddit, limit, cursor, comment_id) Get post comments

Fetch comments for a specific post. Requires accountId query parameter.

Parameters

Name Type Description Required Notes
post_id String Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID. [required]
account_id String [required]
subreddit Option<String> (Reddit only) Subreddit name
limit Option<i32> Maximum number of comments to return [default to 25]
cursor Option<String> Pagination cursor
comment_id Option<String> (Reddit only) Get replies to a specific comment

Return type

models::GetInboxPostComments200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

hide_inbox_comment

models::HideInboxComment200Response hide_inbox_comment(post_id, comment_id, hide_inbox_comment_request) Hide comment

Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.

Parameters

Name Type Description Required Notes
post_id String [required]
comment_id String [required]
hide_inbox_comment_request HideInboxCommentRequest [required]

Return type

models::HideInboxComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

like_inbox_comment

models::LikeInboxComment200Response like_inbox_comment(post_id, comment_id, like_inbox_comment_request) Like comment

Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit. For Bluesky, the cid (content identifier) is required in the request body.

Parameters

Name Type Description Required Notes
post_id String [required]
comment_id String [required]
like_inbox_comment_request LikeInboxCommentRequest [required]

Return type

models::LikeInboxComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_inbox_comments

models::ListInboxComments200Response list_inbox_comments(profile_id, platform, min_comments, since, sort_by, sort_order, limit, cursor, account_id) List commented posts

Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts.

Parameters

Name Type Description Required Notes
profile_id Option<String> Filter by profile ID
platform Option<String> Filter by platform
min_comments Option<i32> Minimum comment count
since Option<String> Posts created after this date
sort_by Option<String> Sort field [default to date]
sort_order Option<String> Sort order [default to desc]
limit Option<i32> [default to 50]
cursor Option<String>
account_id Option<String> Filter by specific social account ID

Return type

models::ListInboxComments200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

reply_to_inbox_post

models::ReplyToInboxPost200Response reply_to_inbox_post(post_id, reply_to_inbox_post_request) Reply to comment

Post a reply to a post or specific comment. Requires accountId in request body.

Parameters

Name Type Description Required Notes
post_id String Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID. [required]
reply_to_inbox_post_request ReplyToInboxPostRequest [required]

Return type

models::ReplyToInboxPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

send_private_reply_to_comment

models::SendPrivateReplyToComment200Response send_private_reply_to_comment(post_id, comment_id, send_private_reply_to_comment_request) Send private reply

Send a private message to the author of a comment. Supported on Instagram and Facebook only. One reply per comment, must be sent within 7 days, text only.

Parameters

Name Type Description Required Notes
post_id String The media/post ID (Instagram media ID or Facebook post ID) [required]
comment_id String The comment ID to send a private reply to [required]
send_private_reply_to_comment_request SendPrivateReplyToCommentRequest [required]

Return type

models::SendPrivateReplyToComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

unhide_inbox_comment

models::HideInboxComment200Response unhide_inbox_comment(post_id, comment_id, account_id) Unhide comment

Unhide a previously hidden comment. Supported by Facebook, Instagram, Threads, and X/Twitter.

Parameters

Name Type Description Required Notes
post_id String [required]
comment_id String [required]
account_id String [required]

Return type

models::HideInboxComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

unlike_inbox_comment

models::UnlikeInboxComment200Response unlike_inbox_comment(post_id, comment_id, account_id, like_uri) Unlike comment

Remove a like from a comment. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit. For Bluesky, the likeUri query parameter is required.

Parameters

Name Type Description Required Notes
post_id String [required]
comment_id String [required]
account_id String [required]
like_uri Option<String> (Bluesky only) The like URI returned when liking

Return type

models::UnlikeInboxComment200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]