Skip to content

Channels

Channels route events within an app. Use the REST resource to create and manage them; for live event subscriptions, see Realtime.

# Create
channel = client.channels.create(name="events", app_id=1)
# Get
channel = client.channels.get(channel_id=1)
# Update
channel = client.channels.update(channel_id=1, name="renamed")
# Delete
client.channels.delete(channel_id=1)

For real-time event subscriptions, see Realtime. The previous Socket.IO connect_websocket() and SSE subscribe_sse() flows have been removed in favor of MQTT-over-WSS via AWS IoT Core.