Webhooks
Endpoints for the webhooks of an app. Socket Chief delivers channel, presence and client events to their URL, signed with the app secret like Pusher webhooks.
List webhooks
List the webhooks of an app by URL.
path Parameters
appquery Parameters
querySearch results by name.
per_pageNumber of results per page.
pagePage number to return.
List webhooks › Responses
Paginated set of Webhook
Create a webhook
Add a webhook to an app. It only receives deliveries once it has at least one event.
path Parameters
appCreate a webhook › Request Body
urlHTTPS URL the webhook is delivered to.
eventsEvents delivered to the URL. A webhook without events receives nothing.
headersHTTP headers sent with every delivery, as an object of header names to values.
query_paramsQuery parameters added to the URL of every delivery, as an object of names to values.
channel_prefixesOnly deliver events of channels whose name starts with one of these prefixes. Empty delivers events of every channel.
channel_suffixesOnly deliver events of channels whose name ends with one of these suffixes. Empty delivers events of every channel.
Create a webhook › Responses
The webhook was created.
Get a webhook
Get one of the webhooks of an app.
path Parameters
appwebhookGet a webhook › Responses
Webhook
Update a webhook
Change the URL, events, headers, query parameters or channel filters of a webhook. Fields left out keep their value, a given field replaces the current value entirely: send the complete headers object to change one header. Send null or an empty value to clear a field.
path Parameters
appwebhookUpdate a webhook › Request Body
urlHTTPS URL the webhook is delivered to.
eventsEvents delivered to the URL. A webhook without events receives nothing.
headersHTTP headers sent with every delivery, as an object of header names to values.
query_paramsQuery parameters added to the URL of every delivery, as an object of names to values.
channel_prefixesOnly deliver events of channels whose name starts with one of these prefixes. Empty delivers events of every channel.
channel_suffixesOnly deliver events of channels whose name ends with one of these suffixes. Empty delivers events of every channel.
Update a webhook › Responses
Webhook