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

# Buy phone number

> Use this action to purchase a phone number. Learn more in [Daily's documentation](https://docs.daily.co/reference/rest-api/phone-numbers/buy-phonr-number). 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

| **Field**        | **Type** | **Description**                                                                                    |
| ---------------- | -------- | -------------------------------------------------------------------------------------------------- |
| **phone number** | Text     | The phone number to purchase. If not specified, a random California (CA) number will be purchased. |

⚠️ Important Note:

* If a specific number is requested but unavailable, the action will fail.
* When no number is specified, the action will automatically purchase an available California (CA) number.

### Returned Values

| **Field**         | **Type** | **Description**                                    |
| ----------------- | -------- | -------------------------------------------------- |
| **id**            | Text     | Unique identifier for the purchased phone number.  |
| **number**        | Text     | The purchased phone number.                        |
| **error**         | Boolean  | Indicates if an error occurred during the request. |
| **error message** | Text     | Description of any error that occurred.            |
| **error status**  | Number   | Numeric error status code.                         |

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

{" "}
