Buy

Returns a list of countries where phone numbers are available.

get/v1/buy/countries

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v1/buy/countries
  • Auth
    HTTP bearer

Query parameters

text_enabled_onlyboolean

When true, returns only countries that offer text-enabled phone numbers.

Response

Returns the list of countries with available phone numbers.

Example response

{
  "countries": [
    {
      "id": 8148,
      "name": "France"
    }
  ]
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API