mulaichatDocs
GuidesDeveloperAPI ReferenceChangelog
Comments
PATCH
/v1/comments/{id}

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

Header Parameters

mulaichat-workspace?string

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

Request Body

application/json
  1. body
reply_status*string
Value in"unreplied""replied""ignored"

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 Mulaichat.

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 Mulaichat; 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 PATCH 'https://api.mulaichat.com/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "reply_status": "unreplied"}'
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"    }  ]}

On this page