Skip to content

Comments

4 endpoints: list comment threads, retrieve a comment thread, reply to a comment thread, moderate a comment.

List comment threads

GET /v1/comments/threads

Lists comment conversations on the accounts this key can reach, most recent activity first.

Permission: comments:read

Query parameters

FieldTypeRequiredDescription
limitintegerNoItems per page, 1 to 100. (1 to 100, default 25)
cursorstringNoThe next_cursor of the previous page. (up to 512 characters)
account_idstringNo(up to 128 characters)
statusneeds_reply, completed, manual, sending, failedNo

Response

FieldTypeRequiredDescription
object"list"Yes
dataarray of objectYes
data[].object"comment_thread"Yes
data[].idstringYes(up to 128 characters)
data[].account_idstringYes(up to 128 characters)
data[].networkyoutube, tiktok, instagram, facebook, threads, bluesky, mastodon, pinterest, telegram, twitch, x, discordYes
data[].statusneeds_reply, completed, manual, sending, failedYes
data[].video_idstring or nullYes
data[].video_titlestring or nullYes
data[].conversation_versionintegerYes(-9007199254740991 to 9007199254740991)
data[].latest_activity_atstringYesISO 8601 date and time, UTC.
data[].messagesarray of objectNo
has_morebooleanYes
next_cursorstring or nullYes
curl https://api.nowscale.com/v1/comments/threads \
  -H "Authorization: Bearer $NOWSCALE_API_KEY"

Retrieve a comment thread

GET /v1/comments/threads/{thread_id}

Returns one conversation with its messages, oldest first.

Permission: comments:read

Path parameters

NameDescription
thread_idThe thread's id.

Response

FieldTypeRequiredDescription
object"comment_thread"Yes
idstringYes(up to 128 characters)
account_idstringYes(up to 128 characters)
networkyoutube, tiktok, instagram, facebook, threads, bluesky, mastodon, pinterest, telegram, twitch, x, discordYes
statusneeds_reply, completed, manual, sending, failedYes
video_idstring or nullYes
video_titlestring or nullYes
conversation_versionintegerYes(-9007199254740991 to 9007199254740991)
latest_activity_atstringYesISO 8601 date and time, UTC.
messagesarray of objectNo
messages[].object"comment"Yes
messages[].idstringYes(up to 128 characters)
messages[].author_rolestringYes
messages[].author_namestringYes
messages[].textstring or nullYes
messages[].moderation_statusstringYes
messages[].urlstring or nullYes
messages[].published_atstringYesISO 8601 date and time, UTC.
curl https://api.nowscale.com/v1/comments/threads/THREAD_ID \
  -H "Authorization: Bearer $NOWSCALE_API_KEY"

Reply to a comment thread

POST /v1/comments/threads/{thread_id}/replies

Posts a reply on the network, under the thread's top comment or the comment you name. Send the thread's conversation_version so a reply never lands on a conversation that changed since you read it. Replies go out as the account's owner; today only the person who connected the account can reply through it.

Permission: comments:write · Accepts Idempotency-Key · Answers 201

Path parameters

NameDescription
thread_idThe thread's id.

Body

FieldTypeRequiredDescription
textstringYes(up to 10000 characters)
expected_conversation_versionintegerYes(0 to 9007199254740991)
reply_to_comment_idstringNoThe comment to answer. Defaults to the thread's top comment. (up to 128 characters)

Response

FieldTypeRequiredDescription
object"comment_thread"Yes
idstringYes(up to 128 characters)
account_idstringYes(up to 128 characters)
networkyoutube, tiktok, instagram, facebook, threads, bluesky, mastodon, pinterest, telegram, twitch, x, discordYes
statusneeds_reply, completed, manual, sending, failedYes
video_idstring or nullYes
video_titlestring or nullYes
conversation_versionintegerYes(-9007199254740991 to 9007199254740991)
latest_activity_atstringYesISO 8601 date and time, UTC.
messagesarray of objectNo
messages[].object"comment"Yes
messages[].idstringYes(up to 128 characters)
messages[].author_rolestringYes
messages[].author_namestringYes
messages[].textstring or nullYes
messages[].moderation_statusstringYes
messages[].urlstring or nullYes
messages[].published_atstringYesISO 8601 date and time, UTC.
curl -X POST https://api.nowscale.com/v1/comments/threads/THREAD_ID/replies \
  -H "Authorization: Bearer $NOWSCALE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{ ... }'

Moderate a comment

POST /v1/comments/threads/{thread_id}/comments/{comment_id}/moderate

Approves, hides, unhides, rejects or deletes a comment, or bans its author, where the network supports the action. Send the thread's conversation_version.

Permission: comments:moderate · Accepts Idempotency-Key

Path parameters

NameDescription
thread_idThe thread's id.
comment_idThe comment's id.

Body

FieldTypeRequiredDescription
actionapprove, hide, unhide, reject, ban_author, deleteYes
expected_conversation_versionintegerYes(0 to 9007199254740991)

Response

FieldTypeRequiredDescription
object"comment_thread"Yes
idstringYes(up to 128 characters)
account_idstringYes(up to 128 characters)
networkyoutube, tiktok, instagram, facebook, threads, bluesky, mastodon, pinterest, telegram, twitch, x, discordYes
statusneeds_reply, completed, manual, sending, failedYes
video_idstring or nullYes
video_titlestring or nullYes
conversation_versionintegerYes(-9007199254740991 to 9007199254740991)
latest_activity_atstringYesISO 8601 date and time, UTC.
messagesarray of objectNo
messages[].object"comment"Yes
messages[].idstringYes(up to 128 characters)
messages[].author_rolestringYes
messages[].author_namestringYes
messages[].textstring or nullYes
messages[].moderation_statusstringYes
messages[].urlstring or nullYes
messages[].published_atstringYesISO 8601 date and time, UTC.
curl -X POST https://api.nowscale.com/v1/comments/threads/THREAD_ID/comments/COMMENT_ID/moderate \
  -H "Authorization: Bearer $NOWSCALE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{ ... }'