We're Taking This Thing Worldwide (Kinda)
We’ve been updating Phaxio to ease the transition toward releasing more international destinations. In all cases, we're trying to build enhancements that make Phaxio easier to use without disturbing the system you already have in place.
Going forward, we’ll be using the E.164 format for validating phone numbers. E.164 is the standard in telephony and should give our users a better idea of what to expect from Phaxio.
If you’re curious if this will affect you, or how to use it properly, keep reading.
When to use a “+”
If you’re making calls to destinations outside of the US and Canada, add a “+” to your dialing. For example, if you’re faxing something to the Israeli Ministry of Affairs, your API call should look like this:
curl https://api.phaxio.com/v1/send \
-F 'to=+97225602223' \
-F 'filename=@/path/to/a/supported/file' \
-F 'api_key=API_KEY' \
-F 'api_secret=API_SECRET'
If you forgot to add the “+” and the number is over ten digits, Phaxio will assume that you are trying to make an international call and will add the “+” for you.
I only make domestic calls, should I change anything?
Our system will continue to work as it has in the past for you and a change does not need to be made. However, if you plan on making more international calls in the future, you’ll need to update your application.