Skip to main content
WEBHOOK
data is the full new cash flow statement, with the same keys as quarterly-result.cash-flow.created. previous_attributes has only the old values that changed, in the shape of data.
  • If a later extraction gives the same numbers, no event is sent.
  • Each new version of the numbers is sent once. A second correction is a second .updated event.
The old value in the example is made up, to show the shape.

Headers

webhook-id
string
required

The event id. It is the same as id in the body. Every retry of an event has the same id.

webhook-timestamp
string
required

When the request was signed, in UNIX seconds.

webhook-signature
string
required

The signature: v1, and a base64 HMAC-SHA256. See Authentication.

X-StockInsights-Event
string
required

The event type.

X-StockInsights-Delivery
string
required

The id of one event going to one destination. Every retry has the same id.

Body

application/json
id
string
required

The event id: evt_ and a UUID. It is also the webhook-id header. The same event can arrive more than once, so de-duplicate on this id.

Pattern: ^evt_[0-9a-f-]{36}$
type
string
required

The event type.

Allowed value: "quarterly-result.cash-flow.updated"
api_version
string
required

Always v2.

Allowed value: "v2"
occurred_at
string<date-time>
required

When the event happened, as an ISO 8601 timestamp in UTC.

data
object
required

The API object of the filing, plus the webhook extras.

previous_attributes
object
required

The old value of each field of data that changed, in the same shape as data. A field that did not change is not in it.

Response

200

Return any 2xx status within 10 seconds to accept the event. Any other status, a timeout or a connection error is retried.