Test Webhook
Changed onSend a test event to a webhook
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/webhooks/{id}/test
- AuthAPI key in header Authorization
Path parameters
Query parameters
Various types of events that are recorded by Buttondown, both in terms of exogenous systems like Stripe and Memberful, and endogenous ones like email opens and clicks. (In general, if anything important ever happens that could be relevant to your newsletter, we have an event type for it!)
These event types power lots of things within Buttondown. They're used to trigger automations, webhooks, and analytics.
(Note that the /v1/events API speaks an older, shorter vocabulary for subscriber engagement — clicked rather than subscriber.clicked — a relic of a previous events system. Each of those names maps onto one of the subscriber.* types below.)
In general, our event namespacing tries to hew to the following pattern:
<source>.<object>.<action>
When wondering which object we are referring to, default to the more granular object.
For instance, an email being sent to a subscriber is subscriber.delivered, not email.sent.
The event type to send. Defaults to the webhook's first configured event type.
Response
No Content
Changes
- info
added the new enum value
stripe.charge.succeededto thequeryrequest parameterevent_type
- info
- info
added the new enum value
subscriber.dropped_from_importto thequeryrequest parameterevent_type - info
added the new enum value
subscriber.importedto thequeryrequest parameterevent_type
- info