> ## 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.

# Waiting Participant Joined

> The waiting participant joined webhook event

A waiting participant joined event is sent when a knocker (see [blog post](https://www.daily.co/blog/manage-call-permissions-with-dailys-knocking-feature/)) begins to knock. Once a waiting participant is allowed to join the call, a [`participant.joined`](./participant-joined) event is sent. Otherwise, if a participant leaves the knocking state, a [`waiting-participant.left`](./waiting-participant-left) is sent.

## Common fields

**version** `string`

Represents the version of the event. Uses semantic versioning to inform a consumer if the payload has introduced any breaking changes.

**type** `string`

Represents the type of the event described in the payload.

**id** `string`

An identifier representing this specific event.

**payload** `object`

An object representing the event, whose fields are described below.

**event\_ts** `number`

Documenting when the webhook itself was sent. This timestamp is different than the time of the event the webhook describes.

## Payload

**joined\_at** `number`

The Unix epoch time in seconds representing when the waiting participant joined.

**duration** `number`

The time in seconds between `joined_at` and when the event was generated. For this event that is effectively zero.

**session\_id** `string`

The user session ID, or participant id.

**room** `string`

The name of the room.

**user\_id** `string`

The ID of the user. This is the `user_id` you set on their meeting token. If the participant joined without a meeting token, this field is left out of the payload. SIP and PSTN participants get this from their dial-in or dial-out setup instead.

**user\_name** `string | null`

The participant's current name. It starts out as the `user_name` from their meeting token, or the `userName` call property if they joined without one, and if the name is changed later with [`setUserName()`](https://docs.daily.co/reference/daily-js/instance-methods/set-user-name) the webhook sends the new name. `null` when no name is set.

**userData** `unknown`

Any custom JSON data set for this participant, from the `userData` call property at join or from [`setUserData()`](https://docs.daily.co/reference/daily-js/instance-methods/set-user-data) later. It does not come from the meeting token. Left out of the payload when no user data is set.

**owner** `boolean`

A flag determining if this user is considered the owner.

**participantType** `string`

Only sent for SIP and PSTN participants: one of `sip-dial-in`, `sip-dial-out`, `pstn-dial-in`, `pstn-dial-out`, or `unknown`. Regular web participants do not have this field.

**will\_eject\_at** `number | null`

The Unix epoch time in seconds representing when the participant will be ejected. `null` when no ejection is scheduled, which is the usual case.

**permissions** `object`

The permissions object, that describes what the participant is permitted to do during this call.

```json theme={null}
{
  "version": "1.0.0",
  "type": "waiting-participant.joined",
  "id": "1-w-ptcpt-joined-ed25c43f-e763-4f4d-acbd-51c399a616f1-1719586645077",
  "payload": {
    "room": "knocking",
    "user_name": "bipol",
    "session_id": "ed25c43f-e763-4f4d-acbd-51c399a616f1",
    "joined_at": 1719586645.076,
    "will_eject_at": null,
    "owner": false,
    "permissions": {
      "hasPresence": true,
      "canSend": true,
      "canReceive": { "base": true },
      "canAdmin": false
    },
    "duration": 0
  },
  "event_ts": 1719586645.077
}
```


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