Endpoints for the apps of the team. Each app has its own credentials that Pusher compatible clients and server libraries connect with.
List apps
Create an app
Create an app with its own credentials. The response includes the credentials, which can be read again with the credentials endpoint.
Create an app › Request Body
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.
Create an app › Responses
The app was created.
Get an app
Get one of the team's apps. The secret is not included, read it with the credentials endpoint.
path Parameters
appGet an app › Responses
App
Update an app
Rename an app or change the channel types and client events it allows. Fields left out keep their value.
path Parameters
appUpdate an app › Request Body
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.
Update an app › Responses
App
Get the app credentials
Get the app ID, key and secret with the host and port to connect to. The secret signs server API requests and channel authorizations, so this requires the apps write scope.
path Parameters
appGet the app credentials › Responses
AppCredentials
List live channels
List the channels of the app that have subscribers right now, with their subscription and presence user counts. The WebSocket server is asked at most every few seconds, pass fresh to skip the cached snapshot. When the server cannot be reached the status is unavailable and the channel list is empty.
path Parameters
appquery Parameters
queryOnly return channels whose name contains this text, case-insensitive.
typeOnly return channels of this type, or with this cache or encrypted modifier.
freshRead the channels from the WebSocket server instead of the snapshot cached for a few seconds.
List live channels › Responses
AppChannels