SocialCrawl

stream

stream.budget.warning

Sent once a month when a listener's spend reaches most of its monthly credit cap.

When it is sent

A listener's net credit spend for the month reaches most of its monthly cap, once a month.

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": "stream.budget.warning",
        "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": {
          "credits_net": 800,
          "max_credits_per_month": 1000
        },
        "links": {
          "stream": "https://www.socialcrawl.dev/v1/listening/streams/lst_sample0000000000"
        }
      }
    ]
  }
}

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
credits_netnumberThe credits the listener has spent this UTC month, net of refunds.
max_credits_per_monthnumberThe monthly credit cap set on the listener.

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

시작할 준비가 됐습니까?

무료로 소셜 데이터를 받기 시작하고, 프로젝트가 커지면 그대로 확장합니다. 카드 등록은 필요 없습니다.