Create an Event Subscription
Create an event subscription corresponding to your Chariot account.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The request body for creating an event subscription
url
The webhook url where we'll send notifications.
category
The category of the event. This is useful for filtering events.
Event names follow the pattern {resource}.{event_type} where event_type is usually created or updated. Status transitions (for example, a Donor Account moving to approved or rejected) are emitted as {resource}.updated events — fetch the object to read its current status.
signing_secret
The key used to sign webhooks sent to this URL, so you can verify they come from Chariot. If you omit it, Chariot reuses the secret of any existing subscription you have on the same URL, or otherwise generates a random one. The Create response is the only response that returns the secret, so store it then. Passing your own value is recommended.
Response headers
Location
The URI of the created object
Response
Created
event_subscription
Webhooks are event notifications we send to you by HTTPS POST requests. Event Subscriptions are how you configure your application to listen for them.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error

