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

# Enable PIN dial-in

> Use this action to enable PIN-based dial-in for an existing room. Phone numbers are pay-as-you-go, so be sure to [add your credit card](https://dashboard.daily.co/billing) to your Daily account to enable this feature.

export const feature_0 = "action"

<Warning>
  🔐 Bundle plugin only: This {feature_0} is exclusive to the [Video, Audio & Live
  Bundle](/bubble/video-audio-live-bundle/getting-started). Get the bundle
  plugin
  [here](https://bubble.io/plugin/video-audio--live-bundle-1727441795463x240182085842370560).
</Warning>

## Fields

<ParamField path="room name" type="text" required>
  The name of the room where dial-in settings will be applied.
</ParamField>

<ParamField path="display name" type="text" required>
  Set the display name for PSTN participants when they join the room.
</ParamField>

<ParamField path="wait for meeting start" type="boolean">
  If a PSTN participant joins before the room starts, choose whether they wait
  in the conference with hold music or get disconnected.
</ParamField>

<ParamField path="room number" type="text">
  Assign a purchased phone number to PIN dial-in. If no number is specified, the
  default (earliest purchased) number is used.
</ParamField>

<ParamField path="exp" type="number">
  Set a custom exp otherwise the number will expire in 364 days, an exp is
  mandatory.
</ParamField>

⚠️ Important Notes:

* Must have an expiration. If no exp is set, the room will automatically expire in 364 days
* Expiration must be a UNIX timestamp
* If using an owner token, consider enabling eject\_at\_exp for better session control

## Return Values

<ResponseField name="id" type="text">
  Unique identifier for the room
</ResponseField>

<ResponseField name="name" type="text">
  Name of the room
</ResponseField>

<ResponseField name="privacy" type="text">
  Privacy setting of the room
</ResponseField>

<ResponseField name="url" type="text">
  URL of the room
</ResponseField>

<ResponseField name="created at" type="date">
  When the room was created
</ResponseField>

<ResponseField name="dial-in code" type="number">
  PIN code for dial-in access
</ResponseField>

<ResponseField name="phone number" type="text">
  Phone number assigned for dial-in if specified when making the request
</ResponseField>

<ResponseField name="dial-in number" type="text">
  Dial-in number. Empty if phone number is specified, otherwise returns the
  earliest purchased number on the domain
</ResponseField>

<ResponseField name="dial-in with pin" type="text">
  Formatted dial-in number with number and PIN code. If no dial-in number or
  phone number is present, will use [Daily global
  numbers](https://docs.daily.co/guides/products/dial-in-dial-out#global-dial-in-phone-numbers)
</ResponseField>

<ResponseField name="error" type="boolean">
  Whether an error occurred
</ResponseField>

<ResponseField name="error message" type="text">
  Error message if an error occurred
</ResponseField>

<ResponseField name="error status" type="number">
  Error status code if an error occurred
</ResponseField>

<CardGroup cols={2}>
  <Card title="Need Help?" icon="envelope" href="/support/plans">
    View our options for free community and priority support.
  </Card>

  <Card title="Have a feature request?" icon="lightbulb" href="https://lunchpaillabs.canny.io/feature-requests?selectedCategory=daily-video-plugin-for-bubble">
    Post your feature request on our

    <a href="https://lunchpaillabs.canny.io/feature-requests?selectedCategory=daily-video-plugin-for-bubble">
      idea board.
    </a>
  </Card>
</CardGroup>

{" "}
