Schemas
App
idApp ID, which is also the app key Pusher clients connect with.
namechannel_typesChannel types clients may subscribe to.
client_eventsWhether clients may publish client events on private and presence channels.
created_atupdated_atwebhooks_countNumber of webhooks of the app.
The credentials of the app, only included in the response that created it. Use the credentials endpoint to read them again.
AppChannels
app_idID of the app.
statusavailable when the WebSocket server answered, unavailable when it could not be reached and error says why.
errorThe reason the channels are unavailable, null when they are available.
refreshed_atWhen the WebSocket server was asked for the channels.
Totals over every occupied channel of the app, regardless of the filters.
The occupied channels, sorted by name.
AppCredentials
app_idApp ID for server libraries.
keyApp key that clients and server libraries connect with, the same value as the app ID.
secretApp secret that server libraries sign API requests and channel authorizations with. Keep it on the server, never ship it to clients.
hostHost to connect to: the wsHost of clients and the host of server libraries.
portPort to connect to, always with TLS (forceTLS or https).
SaveAppRequest
nameDisplay name of the app.
channel_typesChannel types clients may subscribe to. New apps allow private and presence channels when left out.
client_eventsWhether clients may publish client events on private and presence channels. New apps do not allow them when left out.
SaveWebhookRequest
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.
Team
slugTeam slug, the value of the X-Chief-Team header.
nameThe plan limits of the team. A null limit is unlimited.
UsageHistory
intervalThe length of each period.
One entry per period, oldest first.
UsageSummary
fromFirst day of the period, the totals run until now.
connected_nowConnections of all apps right now, null when the WebSocket server cannot be reached.
peak_connectionsHighest concurrent connections of the team in the period, the sum of the hourly app peaks.
last_recorded_atStart of the most recent minute with recorded usage, null when no usage was recorded yet.
Totals of all apps in the period.
Usage per app in the period, the apps with the most delivered messages first.
Webhook
idWebhook ID.
app_idID of the app the webhook belongs to.
urlenabledWhether the webhook has events and receives deliveries.
eventsEvents delivered to the URL.
HTTP headers sent with every delivery.
Query parameters added to the URL of every delivery.
channel_prefixesOnly events of channels whose name starts with one of these prefixes are delivered, empty for every channel.
channel_suffixesOnly events of channels whose name ends with one of these suffixes are delivered, empty for every channel.
created_atupdated_at