Webhook event
partnerEvent- Direction
- Chartnaut calls your endpoint
- Auth
- Signed by Chartnaut
- Operation ID
partnerEvent
Headers: Chartnaut-Signature: t=<unix>,v1=<hex hmac_sha256(secret, t + "." + body)>[,v1=<previous secret's>],
Chartnaut-Event-Id: evt_…, Chartnaut-Event-Type: <type>, Content-Type: application/json. At least once, in no guaranteed order. Answer 2xx within 10 s; anything
else is retried up to 24 attempts (30 s doubling to 12 h between them).
Each endpoint is delivered to on its own, at most 2 requests at a time, so a slow or
flooded endpoint never holds up another. After 25 failed deliveries in a row over more
than an hour, the endpoint is paused: only test.ping is sent to it until you press
Resume (Webhooks, in the portal or the Developers page), and your account's owners and
admins get an email. Its events wait 3 days and go out on resume.
Live endpoints also count against your developer plan, across all your apps (Test ones
count against nothing). After a downgrade that leaves you over the limit, every endpoint
keeps delivering for 7 days (you get an email and a banner); then the oldest up to the
limit carry on and the rest pause with the reason over_plan_limit, their events held
3 days and test.ping still delivered. Choose which stay active on the Webhooks tab
(your project's Webhooks tab on the Developers page) at any time; Resume
on an endpoint paused over the limit is refused (409) unless there is room; an upgrade
lifts the pauses by itself, oldest first.
type |
data |
Read |
|---|---|---|
user.connected |
user, external_user_ref |
GET /users/{user} |
user.disconnected |
user, external_user_ref, by (user, partner or admin) |
GET /users/{user} (404 not_linked) |
user.deleted |
user, external_user_ref |
delete what you hold for them |
session.ended |
user, session, status (ended, breached, completed_to_target), external_ref (the session's, when it has one) |
GET /sessions/{session} |
rule.breached |
user, external_user_ref (when linked), session or account, breach, rule_id |
GET /sessions/{session}/breaches or /accounts/{account}/breaches |
alert.fired |
user, external_user_ref, alert, fire (sent only while the user grants alerts:read) |
GET /users/{user}/alert-fires |
limits.warning |
limit (free_linked, seats, pro_seats or data), used, cap, percent (80 or 100). Once per threshold per UTC month, for your developer account (all your apps count together), sent to each of your apps' endpoints; your account's owner and billing email get the same by email |
the Developers page's Plan and billing |
test.ping |
(empty) |
Headers#
Chartnaut-SignaturestringRequiredChartnaut-Event-IdstringRequiredChartnaut-Event-TypestringRequiredBody we sendapplication/json#
idstringRequiredDeduplicate on this.
typestringRequiredcreated_atstring (date-time)RequireddataobjectRequiredIds and refs only (see the table in webhooks.partnerEvent). {} for test.ping.
Your answer#
2XX
Received. Anything else is retried with backoff.
