# Realtime

> Create channels, capture database changes and send broadcasts to your app.

Source: https://daster.io/docs/auth-storage-realtime/realtime/ · Last updated: 2026-11-01

Open **Backend Cloud › Realtime**.

## Channels and broadcasts

- The page lists your channels. **New channel** creates one.
- **Send test broadcast** sends a JSON object to a channel. An unknown channel is refused.
- **Start event preview** shows a channel's events, refreshed every 4 seconds, for at most 5 minutes while the tab is open.

## Database changes

**Database changes** lists your project's tables and whether each one captures changes. For a table made with SQL, choose **Turn on** to start capturing its changes.

## From your app

On your project's data API (`DASTER_URL`):

```http
POST /backend/v1/projects/{projectId}/broadcast/orders
apikey: daster_pk_dev_…
Authorization: Bearer <user access token>
Content-Type: application/json

{ "type": "order.created", "id": "o_123" }
```

Read events with `GET /backend/v1/projects/{projectId}/realtime?channel=orders&cursor=…`. It returns JSON, or with `Accept: text/event-stream` a server-sent event stream that you reconnect with the last cursor.

## Limits

- Event streams are bounded: one connection polls for at most 25 one-second intervals, then your client reconnects with its cursor.
- Hosted apps reach Realtime through their gateway with cursor polling and broadcasts; streaming and WebSockets are not offered there.

> **Note:** Not available yet: presence and the Realtime guide. The **Connected clients** chart shows sample data; its "Measured this month" line (messages, connection time, streams opened) is real.
