Comments

Reply or comment

Reply to a comment, or comment on one of the account's own posts.

POSThttps://app.tryadeli.com/api/v1/comments
AuthorizationBearer <API key>How keys work

Send parentId to reply to a comment, or postId alone to comment on one of the account's own posts. Instagram supports replies only. TikTok and YouTube need postId for a reply too. Comments are public as soon as the provider accepts them.

Body

platform"instagram" | "facebook" | "tiktok" | "youtube"Required
accountIduuidRequired
profileIduuid
Optional, because accountId names its profile. If you pass both, they must agree.
postIdstring
The post. Required for a top-level comment, and for any TikTok or YouTube comment.
parentIdstring
The comment being replied to. Required on Instagram.
messagestringRequired
Up to 2,200 characters on Instagram, 1,200 on TikTok, 8,000 on Facebook, 10,000 on YouTube.

Returns 201 with { platform, accountId, profileId, comment }. On TikTok and YouTube comment is the full comment in the shape List comments returns; Instagram and Facebook return the new comment's id.

Errors — 401 unauthorized, 400 invalid_request, 404 account_not_found, 409 page_not_selected, 422 connection_expired, 429 rate_limited, 429 quota_exhausted, 502 provider_error.