Realtime

Get channel presence

Retrieve the list of users currently present in a realtime channel. Presence data is stored in Redis Hashes with a TTL and is automatically removed when users disconnect or their session expires.

get/api/realtime/{project_id}/presence

Request

  • Base URL
    https://core.blink.new
  • URL
    https://core.blink.new/api/realtime/{project_id}/presence
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:my-project-123

Unique identifier for the project

Query parameters

channelstring required
Example:chat-room-1

Name of the channel to query

Response

Presence data retrieved successfully

channelstring

Channel name

countinteger

Total number of users present

Changes

No recorded changes to this operation across all 1 revision of this API.