Skip to content

Get a source's webhook events

GET
/v1/sources/:id/webhook_events
curl "https://api.summerbase.com/v1/sources/:id/webhook_events" \
-H "Authorization: Bearer sb_..."

The events a webhook endpoint at the source’s webhook_url has to select, for one installed by hand. None for a source whose provider posts no webhooks.

id
required
string

The source’s slug — stripe — or its Summerbase id.

Example

0198f1a3-0b7c-7e25-9f41-6a2d8c3e5b19

Returns the names of the events a webhook endpoint for this source has to select, in events. The list is empty for a source whose provider sends no webhooks.

Media typeapplication/json
object
events
required

The provider’s names for the events, as its webhook settings list them.

Array<string>

Example

{
"events": [
"string"
]
}