Documentation

Explore our comprehensive documentation to get detailed insights on service usage and development.

Allows you to manage phone numbers, rent (reserve) them, and release.


What is an Order?

An order represents a request for an eSIM and data plan. Orders contain details about the customer, the selected plan, and the eSIM activation process.

Why Can Orders Be Rejected?

Orders can be rejected due to invalid plan selections, fraudulent requests, or incompatible eSIM devices. The rejection feature ensures that only valid orders proceed to activation.

How to Manage Order Status?

Users can track order status from "pending" to "completed," with intermediate states like "inprogress" or "rejected." This allows for better order management and transparency.

For authentication,The Bearer token should be sent as a bearer tokens in the Authorization header of the request. Create account.

API endpoint:

get
/v1/getcountries

Description:

Retrieves a list of countries. You will need to use the "isocode" parameter for next API function.

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/countries' \
--header 'Authorization: Basic ZXVfcmVzZWxsZXIxQdLmNvbTphZG1pbjEyMw==' \
--header 'Cookie: ci_session=buevenda9fkhlu81jb3pq6qpoaolccnp'
Parameter Type Description

API endpoint:

get
/v1/numbers/areas

Description:

This function will provide a JSON formatted list of areas where numbers are available for purchase

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/areas?isocode=us' \
--header 'Authorization: Basic c2FuZGtpbmasdwfcWlsLmNvbTpDb2sWN0Y29uMSE=' \
--header 'Cookie: ci_session=buevenda9fkhlu81jb3pq6qpoaolccnp'
Parameter Type Description
isocode Required string Country Isocode

API endpoint:

get
/v1/numbers/prefixes

Description:

Retrieves a list of prefixes for a specific area.

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/prefixes?area_uuid=3e5536df19030dc5923ebefb83df377f' \
--header 'Authorization: Basic c2FuZstpbmc3Mjk2QGdtYWla0Y29uaaE=' \
--header 'Cookie: ci_session=idblhek3gslc1rq7l1df48kud70brgrl'
Parameter Type Description
area_uuid Required string Area Unique ID

API endpoint:

get
/v1/numbers/available

Description:

Retrieves a list of numbers for a specific prefix.

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/available?prefix_uuid=ee0a345e3c354be83fc93b9c5a0e5ca9' \
--header 'Authorization: Basic ZXVfcmVzZWxsZXIxQGdt...='
Parameter Type Description
prefix_uuid Required string Prefix Unique ID

API endpoint:

post
/v1/numbers

Description:

Use this endpoint to rent a specific phone number

Request example:

curl --location --request POST 'https://api.simvox.com/v1/numbers' \
--header 'X-Environment: sandbox' \
--header 'Authorization: Basic cGhhbnRvbTUxMkBwcmvbTpDb25uZWN0Y29uMSE=' \
--header 'Content-Type: application/json' \
--data-raw '{
"number":"12564708203",
"price_uuid":"b1d2acf58eef9caa3e2a39db3f980411"
}'
Parameter Type Description
number Required string Number to rent , ex : 15203568954
price_uuid Required string Unique price id
autorenew Required boolean Determines whether the subscription will automatically renew at the end of the current billing period.
overflow Optional boolean Set to 1 to automatically switch to a fresh number (channels overflow) when the current one reaches its SMS/time limit.
uri Optional string Primary webhook URL where all incoming SMS and call events for this number will be instantly forwarded
uri2 Optional string Backup webhook URL. Used only if the request to uri fails (timeout or non-2xx response)
uri3 Optional string Second fallback webhook URL. Called only if both uri and uri2 fail.
ringtype Optional string Call forwarding behavior when someone calls the rented number.
smsuri Optional string Dedicated webhook URL used only for SMS events. If set, SMS will be sent here instead of the main uri. Useful when you want to route SMS and calls to different endpoints.
smsringtype Optional string Same as ringtype, but applies only to SMS-related call events when smsuri is used. Rarely needed.

API endpoint:

post
/v1/numbers/release

Description:

Release a number from your inventory

Request example:

curl --location --request POST 'https://api.simvox.com/v1/numbers/release' \
--header 'Authorization: Basic cGhhbnRvbTUxMk..........=' \
--header 'Cookie: ci_session=fr8v2po4o68olrirji1902nbcpom7nm2' \
--form 'number="15263524789"'
Parameter Type Description
number Required string Number to release

API endpoint:

post
/v1/numbers/reserve

Description:

Use this endpoint to reserve a specific phone number

Request example:

curl --location --request POST 'https://api.simvox.com/v1/numbers/reserve' \
--header 'Authorization: Basic cGhhbnRvbTUxMkB..........=' \
--header 'Cookie: ci_session=fr8v2po4o68olrirji1902nbcpom7nm2' \
--form 'number="15263524789"'
Parameter Type Description
number Required string Number to reserve

API endpoint:

post
/v1/numbers/unreserve

Description:

Use this endpoint to unreserve a specific phone number

Request example:

curl --location --request POST 'https://api.simvox.com/v1/numbers/unreserve' \
--header 'Authorization: Basic cGhhbnRvbTUxMkB..........=' \
--header 'Cookie: ci_session=fr8v2po4o68olrirji1902nbcpom7nm2' \
--form 'number="15263524789"'
Parameter Type Description
number Required string Number to unreserve

API endpoint:

get
/v1/numbers/reservations

Description:

Use this endpoint to get list of all reservation numbers

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/reservations' \
--header 'Authorization: Basic ZXVfcmVzZWx.........==' \
--header 'Cookie: ci_session=2qk85ond47dmjbplfcvtu8l9ul1o71t7'
Parameter Type Description

API endpoint:

get
/v1/numbers/reservations/{number}

Description:

Use this endpoint to get special reservation number.

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers/reservations/13265245789' \
--header 'Authorization: Basic ZXVfcmVzZWxsZXIxQGdtYWlsLmNvbTphZG1pbjEyMw==' \
--header 'Cookie: ci_session=2qk85ond47dmjbplfcvtu8l9ul1o71t7'
Parameter Type Description
number Required string reservation number

API endpoint:

get
/v1/numbers

Description:

Use this endpoint to get list of all numbers in your inventory

Request example:

curl --location --request GET 'https://api.simvox.com/v1/numbers' \
--header 'Authorization: Basic ZXVfcmVzZWx.........==' \
--header 'Cookie: ci_session=2qk85ond47dmjbplfcvtu8l9ul1o71t7'
Parameter Type Description