Get a list of supported countries for sending faxes
Method
Path
public/countries
Returns a list of supported countries for sending and receiving faxes on Phaxio. This operation requires no authentication and can be used without passing an API key.
Request Parameters
This operation accepts paging parameters.
Response
A JSON object with success
, message
, and
data
, and paging
attributes. Results are paginated and the
paging
attribute holds
information about the length of the data for your query. The data
attribute contains an array of hashes with info for each country.
Sample Call
curl -G https://api.phaxio.com/v2.1/public/countries -d 'per_page=3'
Sample Response
{
"success":true,
"message":"Data contains countries info",
"data":[
{
"name":"United States",
"alpha2":"US",
"country_code":1,
"price_per_page":7,
"send_support":"full",
"receive_support":"full"
},
{
"name":"Canada",
"alpha2":"CA",
"country_code":1,
"price_per_page":7,
"send_support":"full",
"receive_support":"full"
},
{
"name":"United Kingdom",
"alpha2":"GB",
"country_code":44,
"price_per_page":10,
"send_support":"full",
"receive_support":"none"
}
],
"paging":{
"total":47,
"per_page":3,
"page":1
}
}