SocialCrawl

Webhooks

thread.comments_read

Sent once for each post whose comments were read, in place of one event for every comment.

When it is sent

A listener has read and stored the comments under a post it kept.

Payload

A test send delivers this body. A real event has no test key and carries a cursor.

Webhook body
{
  "id": "bat_sample0000000000000",
  "type": "event.batch",
  "data": {
    "events": [
      {
        "id": "evt_testsample0000000000000",
        "type": "thread.comments_read",
        "test": true,
        "api_version": "2026-10-01",
        "created_at": "2026-10-24T10:15:01Z",
        "cursor": null,
        "subject": {
          "kind": "listening_stream",
          "id": "lst_sample0000000000",
          "name": "Client B: Globex Mobile",
          "metadata": {
            "client": "client-b"
          }
        },
        "data": {
          "parent_id": "tw_000000000000",
          "platform": "youtube",
          "comments_new": 40,
          "tone": {
            "positive": 22,
            "neutral": 11,
            "negative": 6,
            "unlabelled": 1
          },
          "intents_over_half": {
            "question": 7,
            "purchase_intent": 3,
            "complaint": 4
          },
          "read": "first",
          "completed": true
        },
        "links": {
          "stream": "https://www.socialcrawl.dev/v1/listening/streams/lst_sample0000000000",
          "mentions": "https://www.socialcrawl.dev/v1/listening/streams/lst_sample0000000000/mentions?record_type=comment&parent_id=tw_000000000000"
        }
      }
    ]
  }
}

Fields

These are the keys of data on the event. The event also carries id, type, api_version, created_at, cursor, subject and links.

KeyTypeMeaning
parent_idstringThe id of the post the comments were read under.
platformstringThe platform the post is from.
comments_newnumberHow many comments this read stored.
toneobjectHow many of those comments were positive, neutral, negative or unlabelled, from each comment's free tone label.
intents_over_halfobjectHow many of those comments scored 0.5 or above for each intent: question, purchase_intent and complaint.
readstringAlways first: a post's comments are read once.
completedbooleanFalse when the read stopped early on its time limit.

Delivery

Every delivery is signed, so verify the signature before you trust it. You can send this body to your endpoint with a test send, read the same event on the events feed, and see retries on webhooks and events.

On this page

Ready to build?

Start getting social data for free and scale as your project grows. No credit card needed.