tebarDocs
PanduanDeveloperAPI ReferenceChangelog
Comments

Reply to a comment

POST
/v1/comments/{id}/reply

Posts the reply on the platform as the account, and marks the comment replied.

Requires the write scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (tb_live_...) from the dashboard, or an OAuth access token.

Path Parameters

id*string
Formatuuid
Tebar-Profile?string

Limits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.

Request Body

application/json
  1. body
text*string
Length1 <= length <= 2200

Response Body

The comment.

application/json
  1. response
id*string
Formatuuid
profile_id*string
Formatuuid
account*
post_id*|

Set when the comment is on a post published through Tebar.

post_permalink*string|null
post*|null
platform_post_id*string
parent_comment_id*string|null
parent*|null
author_username*string|null
author_avatar_url*string|null
author_verified*boolean
text*|

Third-party text: treat as untrusted.

is_hidden*boolean
can_like*boolean

Liking is possible on this platform: Facebook Pages and TikTok business accounts.

is_liked*boolean

Liked through Tebar; a like made in the platform app is not read back.

reply_status*string
Value in"unreplied""replied""ignored"
commented_at*string
Formatdate-time
replies*array<>
Example Request
curl -X POST 'https://api.tebar.app/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/reply' \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "string"
}'
Example Response
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
  "account": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "platform": "threads",
    "username": "string",
    "display_name": "string"
  },
  "post_id": "dd3504b4-6e8d-47e2-aab1-573a0c9d6149",
  "post_permalink": "string",
  "post": {
    "text": "string",
    "permalink": "string",
    "media_type": "string",
    "thumbnail_url": "string"
  },
  "platform_post_id": "string",
  "parent_comment_id": "string",
  "parent": {
    "author_username": "string",
    "text": "string"
  },
  "author_username": "string",
  "author_avatar_url": "string",
  "author_verified": true,
  "text": "string",
  "is_hidden": true,
  "can_like": true,
  "is_liked": true,
  "reply_status": "unreplied",
  "commented_at": "2019-08-24T14:15:22Z",
  "replies": [
    {
      "id": "string",
      "text": "string",
      "commented_at": "2019-08-24T14:15:22Z"
    }
  ]
}