> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# requestAccess()

> Requests full access to a call from the lobby.

`requestAccess({ access?, name })`

✗ Prebuilt✓ Custom

Requests full access to a call when the participant is currently in the lobby. Causes the participant to appear in the meeting admins' [`waitingParticipants()`](https://docs.daily.co/reference/daily-js/instance-methods/waiting-participants) set, triggering a [`waiting-participant-added`](https://docs.daily.co/reference/daily-js/events/participant-events#waiting-participant-added) event for admins.

Calling `requestAccess()` again with a new `name` updates the participant's entry in `waitingParticipants()`, triggering [`waiting-participant-updated`](https://docs.daily.co/reference/daily-js/events/participant-events#waiting-participant-updated).

> [!NOTE]
>
> Currently, the only valid request is `{ level: 'full' }`, and it can only be made from `{ level: 'lobby' }`. If access is denied, the response will show `{ level: 'lobby' }` but the participant will be immediately ejected with an [`error`](https://docs.daily.co/reference/daily-js/events/error-events#error) event.

## Parameters

**access** `object`

Optional. The access level to request. Currently must be `{ level: 'full' }` if provided.

**name** `string` *required*

The participant's display name shown to the meeting admins in the waiting room.

## Return value

Returns `Promise<{ access: DailyAccess, granted: boolean }>`:

**access** `DailyAccess`

The new access level: `{ level: 'none' | 'lobby' | 'full' }`.

**granted** `boolean`

Whether the access request was granted.

## Example

```javascript theme={null}
const { granted } = await call.requestAccess({
  access: { level: 'full' },
  name: 'Jane Smith',
});

if (granted) {
  console.log('Access granted — joining call');
} else {
  console.log('Access denied');
}
```

## See also

> [card] Methods
>
> * [accessState()](https://docs.daily.co/reference/daily-js/instance-methods/access-state.md)
> * [waitingParticipants()](https://docs.daily.co/reference/daily-js/instance-methods/waiting-participants.md)
> * [preAuth()](https://docs.daily.co/reference/daily-js/instance-methods/pre-auth.md)

> [card] Events
>
> * [access-state-updated](https://docs.daily.co/reference/daily-js/events/lifecycle-events.md#access-state-updated)
> * [waiting-participant-added](https://docs.daily.co/reference/daily-js/events/participant-events.md#waiting-participant-added)
> * [waiting-participant-updated](https://docs.daily.co/reference/daily-js/events/participant-events.md#waiting-participant-updated)

> [card] Guides
>
> * [Waiting room](https://docs.daily.co/docs/daily-js/guides/waiting-room.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.