diff --git a/fern/examples/inbound-support.mdx b/fern/examples/inbound-support.mdx index 8b2d869ef..d2196b7c2 100644 --- a/fern/examples/inbound-support.mdx +++ b/fern/examples/inbound-support.mdx @@ -51,13 +51,14 @@ As a bonus, we also want the assistant to remember by the phone number of the ca For this example, we're going to store the conversation on our server between calls and use the [Server URL's `assistant-request`](/server-url#retrieving-assistants) to fetch a new configuration based on the caller every time someone calls. - - We'll buy a phone number for inbound calls using the [Phone Numbers API](/api-reference/phone-numbers/buy-phone-number). + + We'll create a phone number for inbound calls using the [Phone Numbers API](/api-reference/phone-numbers/create). ```json { "id": "c86b5177-5cd8-447f-9013-99e307a8a7bb", "orgId": "aa4c36ba-db21-4ce0-9c6e-99e307a8a7bb", + "provider": "vapi", "number": "+11234567890", "createdAt": "2023-09-29T21:44:37.946Z", "updatedAt": "2023-12-08T00:57:24.706Z", diff --git a/fern/examples/outbound-sales.mdx b/fern/examples/outbound-sales.mdx index a2e769256..27fccf311 100644 --- a/fern/examples/outbound-sales.mdx +++ b/fern/examples/outbound-sales.mdx @@ -72,13 +72,14 @@ We want this agent to be able to call a list of leads and schedule appointments. We'll then make a POST request to the [Create Assistant](/api-reference/assistants/create-assistant) endpoint to create the assistant. - - We'll buy a phone number for outbound calls using the [Phone Numbers API](/phone-calling#set-up-a-phone-number). + + We'll create a phone number for outbound calls using the [Phone Numbers API](/phone-calling#set-up-a-phone-number). ```json { "id": "c86b5177-5cd8-447f-9013-99e307a8a7bb", "orgId": "aa4c36ba-db21-4ce0-9c6e-99e307a8a7bb", + "provider": "vapi", "number": "+11234567890", "createdAt": "2023-09-29T21:44:37.946Z", "updatedAt": "2023-12-08T00:57:24.706Z", diff --git a/fern/phone-calling.mdx b/fern/phone-calling.mdx index a3dd1ad28..7a4a0ba91 100644 --- a/fern/phone-calling.mdx +++ b/fern/phone-calling.mdx @@ -7,9 +7,9 @@ slug: phone-calling -You can set up a phone number to place and receive phone calls. Phone numbers can be bought directly through Vapi, or you can use your own from Twilio. +You can set up a phone number to place and receive phone calls. Phone numbers can be created directly through Vapi, or you can use your own from Twilio. -You can buy a phone number through the dashboard or use the [`/phone-numbers/buy`](/api-reference/phone-numbers/buy-phone-number)` endpoint. +You can create a free phone number through the dashboard or use the [`/phone-numbers`](/api-reference/phone-numbers/create) endpoint. If you want to use your own phone number, you can also use the dashboard or the [`/phone-numbers/import`](/api-reference/phone-numbers/import-twilio-number) endpoint. This will use your Twilio credentials to verify the number and configure it with Vapi services. diff --git a/fern/pricing.mdx b/fern/pricing.mdx index f11dfc281..b77c6593f 100644 --- a/fern/pricing.mdx +++ b/fern/pricing.mdx @@ -31,14 +31,6 @@ slug: pricing > Bring your own API keys for providers, Vapi makes requests on your behalf. - - Phone numbers purchased through Vapi bill at $2/mo. - ### Starter Credits diff --git a/fern/quickstart/inbound.mdx b/fern/quickstart/inbound.mdx index d6fa2f0b5..b2121e879 100644 --- a/fern/quickstart/inbound.mdx +++ b/fern/quickstart/inbound.mdx @@ -22,7 +22,7 @@ An inbound call is a phone call that comes **"in"** towards a phone number, & in There are **4 steps** we will cover to handle our first inbound phone call: 1. **Create an Assistant:** we will create an [assistant](/assistants) & instruct it on how to conduct the call -2. **Get a Phone Number:** we can either import existing numbers we own, or purchase one through Vapi +2. **Get a Phone Number:** we can either import existing numbers we own, or create a free one through Vapi 3. **Attach Our Assistant:** we will put our assistant behind the phone number to pick up calls 4. **Call the Number:** we can then call the number & talk to our assistant diff --git a/fern/quickstart/outbound.mdx b/fern/quickstart/outbound.mdx index c9d923057..5afde350b 100644 --- a/fern/quickstart/outbound.mdx +++ b/fern/quickstart/outbound.mdx @@ -22,7 +22,7 @@ An outbound call is a phone call that is dialed and goes **"out"** from a phone There are **3 steps** we will cover to send our first outbound phone call: 1. **Create an Assistant:** we will create an [assistant](/assistants) & instruct it on how to conduct itself during the call -2. **Get a Phone Number:** we can either import existing numbers we own, or purchase one through Vapi +2. **Get a Phone Number:** we can either import existing numbers we own, or create a free one through Vapi 3. **Call Your Number:** we will set our assistant as the dialer, set the destination phone number, then make the call We can then send the outbound call, hopefully someone picks up! diff --git a/fern/server-url/setting-server-urls.mdx b/fern/server-url/setting-server-urls.mdx index 244ac9531..0c293bb0c 100644 --- a/fern/server-url/setting-server-urls.mdx +++ b/fern/server-url/setting-server-urls.mdx @@ -39,7 +39,7 @@ Here's a breakdown of where you can set server URLs in Vapi: Phone numbers can have a server URL attached to them via the [phone number API](/api-reference/phone-numbers). The server URL for phone numbers can be set **3 ways**: - - **At Time of Purchase:** when you [buy a number](/api-reference/phone-numbers/buy-phone-number) through Vapi + - **At Time of Creation:** when you [create a free number](/api-reference/phone-numbers/create) through Vapi - **At Import:** when you [import from Twilio](/api-reference/phone-numbers/import-twilio-number) or [Vonage](/api-reference/phone-numbers/import-vonage-number) - **Via Update:** you can [update a number](/api-reference/phone-numbers/update-phone-number) already in your account diff --git a/fern/snippets/quickstart/dashboard/provision-phone-number-with-vapi.mdx b/fern/snippets/quickstart/dashboard/provision-phone-number-with-vapi.mdx index 7706f94e2..41f4bf7b6 100644 --- a/fern/snippets/quickstart/dashboard/provision-phone-number-with-vapi.mdx +++ b/fern/snippets/quickstart/dashboard/provision-phone-number-with-vapi.mdx @@ -1,31 +1,30 @@ -The quickest way to secure a phone number for your assistant is to purchase a phone number directly through Vapi. +The quickest way to secure a phone number for your assistant is to create a phone number directly through Vapi. - - Ensure you have a card on file that Vapi can bill before proceeding, you can add your billing - information in your dashboard at [dashboard.vapi.ai/billing](https://dashboard.vapi.ai/billing) - - -Navigate to the "Phone Numbers" section & click the "Buy number" button: +Navigate to the "Phone Numbers" section & click the "Create Phone Number" button: - + We will use the area code `415` for our phone number (these are area codes domestic to the US & Canada). - + - Currently, only US & Canada phone numbers can be directly purchased through Vapi. Phone numbers in + Currently, only US & Canada phone numbers can be directly created through Vapi. Phone numbers in other regions must be imported, see our [phone calling](/phone-calling) guide. -Click "Buy", after purchasing a phone number you should see something like this: +Click "Create", after creating a phone number you should see something like this: - + -The phone number is now ready to be used (either for inbound or outbound calling). + + It takes a couple of minutes for the phone number to be fully activated. During this period, calls will not be functional. + + +Once activated, the phone number will be ready for use (either for inbound or outbound calling). diff --git a/fern/snippets/quickstart/phone/get-a-phone-number.mdx b/fern/snippets/quickstart/phone/get-a-phone-number.mdx index a999c1979..6d9edd3b3 100644 --- a/fern/snippets/quickstart/phone/get-a-phone-number.mdx +++ b/fern/snippets/quickstart/phone/get-a-phone-number.mdx @@ -1,45 +1,44 @@ There are **2 ways** we can get a phone number into our Vapi account: -1. **Purchase a Number Through Vapi:** we can directly purchase phone numbers through Vapi. +1. **Create a Number Through Vapi:** we can directly create phone numbers through Vapi. - - Vapi will provision the phone number for us via Twilio + - Vapi will provision the phone number for us - This can be done in the dashboard, or via the API (we will use the dashboard) 2. **Import from Twilio or Vonage:** if we already have a phone number with an external telephony provider (like Twilio or Vonage), we can import them into our Vapi account. - The quickest way to secure a phone number for your assistant is to purchase a phone number directly through Vapi. + The quickest way to secure a phone number for your assistant is to create a phone number directly through Vapi. - - Ensure you have a card on file that Vapi can bill before proceeding, you can add your billing - information in your dashboard at [dashboard.vapi.ai/billing](https://dashboard.vapi.ai/billing) - - - Navigate to the "Phone Numbers" section & click the "Buy number" button: + Navigate to the "Phone Numbers" section & click the "Create Phone Number" button: - + We will use the area code `415` for our phone number (these are area codes domestic to the US & Canada). - + - Currently, only US & Canada phone numbers can be directly purchased through Vapi. Phone numbers in + Currently, only US & Canada phone numbers can be directly created through Vapi. Phone numbers in other regions must be imported, see our [phone calling](/phone-calling) guide. - Click "Buy", after purchasing a phone number you should see something like this: + Click "Create", after creating a phone number you should see something like this: - + - The phone number is now ready to be used (either for inbound or outbound calling). + + It takes a couple of minutes for the phone number to be fully activated. During this period, calls will not be functional. + + + Once activated, the phone number will be ready for use (either for inbound or outbound calling). We can also import an existing phone number we already own with either Twilio or Vonage. diff --git a/fern/static/images/quickstart/dashboard/buy-vapi-phone-number-modal.png b/fern/static/images/quickstart/dashboard/buy-vapi-phone-number-modal.png new file mode 100644 index 000000000..5a3860b41 Binary files /dev/null and b/fern/static/images/quickstart/dashboard/buy-vapi-phone-number-modal.png differ diff --git a/fern/static/images/quickstart/dashboard/create-vapi-phone-number.png b/fern/static/images/quickstart/dashboard/create-vapi-phone-number.png new file mode 100644 index 000000000..ac134e8ce Binary files /dev/null and b/fern/static/images/quickstart/dashboard/create-vapi-phone-number.png differ diff --git a/fern/static/images/quickstart/dashboard/vapi-phone-number-config.png b/fern/static/images/quickstart/dashboard/vapi-phone-number-config.png new file mode 100644 index 000000000..a7d63cb85 Binary files /dev/null and b/fern/static/images/quickstart/dashboard/vapi-phone-number-config.png differ