Comments

Hide or like comment

Hide, unhide, like, or unlike a comment.

PATCHhttps://app.tryadeli.com/api/v1/comments/{commentId}
AuthorizationBearer <API key>How keys work

Path parameters

commentIdstringRequired
The provider's comment id: a numeric string everywhere but YouTube, whose ids are URL-safe base64. One that does not match the platform's format returns 400 invalid_request.

Body

platform"instagram" | "facebook" | "tiktok" | "youtube"Required
accountIduuidRequired
profileIduuid
Optional, because accountId names its profile. If you pass both, they must agree.
hiddenboolean
Hide (true) or unhide (false).
likedboolean
TikTok only. Like (true) or unlike (false).
postIdstring
TikTok only, required with hidden: the post the comment is on.

On YouTube, hidden: true holds the comment for review, where only the channel sees it, and hidden: false publishes it again. liked returns 422 not_supported on every platform but TikTok.

Send at least one of hidden and liked. Returns 200 with the new state: { platform, accountId, profileId, comment: { id, hidden?, liked? } }.

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