Skip to main content
join({properties}) Joins a meeting. The properties argument is optional, but the meeting url must be set here if it was not set in a createCallObject(). You can respond to a successful join either by awaiting the returned Promise or by listening for the joined-meeting event — the two are equivalent.

Parameters

properties
DailyCallOptions
Optional. Configuration for the meeting. The meeting url must be set here if it was not provided to a factory method. All other fields are optional. See the full properties reference for all available options.

Return value

Returns a Promise<DailyParticipants> that resolves with the local participant object once the join completes. This is the same value passed to the joined-meeting event. See participants() for the full shape of the returned object.

Example

const call = Daily.createCallObject();

try {
  const participants = await call.join({ url: 'https://your-domain.daily.co/room-name' });
  console.log('Joined as', participants.local.user_name);
  showCallUI(); // update your UI state now that the call is live
} catch (err) {
  console.error('Failed to join:', err);
}

See also