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.
{
"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.
| Key | Type | Meaning |
|---|---|---|
credits_net | number | The credits the listener has spent this UTC month, net of refunds. |
max_credits_per_month | number | The 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.
