How can I show participants to users who haven't joined a call yet?


I'd like to show a list of participants to a user who hasn't joined a call yet.

After a user has joined a call, I have access to useParticipantIds in Daily React. Before that, there doesn't seem to be a way to fetch participants from my application's front end, even if I create a call object and preAuth.

Looks like the /presence REST API endpoint returns participants across all my rooms. But that would require polling the endpoint from my application's back end and sending updates to the front end, which feels pretty bad.

Any suggestions?

Thank you!

Best Answer

  • mark_at_daily
    mark_at_daily Community Manager, Dailynista admin
    Answer ✓

    @nholden we're working on webhooks currently to inform you when a meeting starts and ends and participants join and leave. With that capability, your apps can be pushed information about who is in a meeting. Hope this will help. We should be launching these additional webhooks in the first quarter of next year.