Kotlin

Buy a Vonage number

Using the Dashboard

First you can browse your existing numbers.

If you have no spare numbers you can buy one.

Using the Nexmo CLI

You can purchase a number using the Nexmo CLI. The following command purchases an available number in the US. Specify an alternate two-character country code to purchase a number in another country.

nexmo number:buy -c US --confirm

Make a note of the number returned, as you'll need it later.