How to buy Numbers using API
You can use API to buy Number
Last updated
You can use API to buy Number
Last updated
To buy numbers, you can access from the following url:
POST
https://api.globalsms.io/api/orders/create_number_order
Name | Type | Description |
---|
Example API calls for placing number order
This API will return order_uuid. You can use the order_uuid to get the list of Numbers assigned to each order.
counter | string | This is the UUID for your number. |
duration | integer | This is the number of days you want these numbers. |
condition | string | This is the condition of the number. Allowed values are "new" and "used" |
pay_method | string | This is the type of order. Allowed values are : 'pay_per_did','pay_per_sms' |
type | string | This is tyep tpe of SMS. We support both "sms" or "voice" verification. |
country | string | This is the country where you want to buy number from. Allowed values are 'US' or 'CA'. |
vendor_uuid | string | This is the vendor's uuid. |