Get a queued reply
A reply with photos or videos (to a comment, or to a post found in the Feed), as the worker sends it: pending, sending, sent (platform_reply_id) or failed (error_code, error_message: nothing was posted, and a Feed post may be replied to again). A video can take a few minutes. Replies still not out after 24 hours fail with reply_timeout. A sent or failed reply is kept 90 days, then 404 (the reply itself stays on the platform and in the comments).
Requires the read scope.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringuuidTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The reply.
application/json- response
id*stringuuidkind*stringcomment: a reply to a comment; feed: to a post found in the Threads Feed.
"comment""feed"profile_id*stringuuidaccount_id*stringuuidcomment_id*|kind comment: the comment replied to (null once it is gone from Tebar).
reply_to_platform_id*stringWhat the reply answers on the platform: the comment's id, or the post's.
text*string|nullmedia_ids*array<>The photos and videos, in order.
status*stringpending (queued), sending, sent, or failed (see error_code).
"pending""sending""sent""failed"platform_reply_id*|The reply's own id on the platform, once sent.
error_code*string|nullerror_message*string|nullcreated_at*stringdate-timesent_at*|nullcurl -X GET 'https://api.tebar.app/v1/replies/497f6eca-6276-4993-bfeb-53cbbbba6f08'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "comment",
"profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
"account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
"comment_id": "24dbb54d-334d-4b2a-92ae-e15845e5d822",
"reply_to_platform_id": "string",
"text": "string",
"media_ids": [
"c6e34978-c173-4e42-81ca-d112071c8c83"
],
"status": "pending",
"platform_reply_id": "string",
"error_code": "string",
"error_message": "string",
"created_at": "2019-08-24T14:15:22Z",
"sent_at": "2019-08-24T14:15:22Z"
}Reply to a comment POST
Posts the reply on the platform as the account, and marks the comment replied. text alone is sent at once (200). With media_ids (Threads accounts only; 1-20 photos or videos from /v1/media, as a Threads post takes them: JPEG/PNG, MP4/MOV up to 5 minutes) the reply is queued (202): follow it with GET /v1/replies/{id}; comment.replied is sent once it is out. Other platforms answer 422 reply_media_unsupported. The same text and files to the same comment within 10 minutes return the reply queued then. Requires the write scope.
Hide or unhide a comment POST
Requires the write scope.