REST API

Modified on Wed, 1 Jul, 2020 at 10:01 AM

What is the REST API?

The Fone Dynamics REST API allows you to programmatic access to your Fone Dynamics account and services. We support exploring and configuring aspects of your existing number structure, browsing available numbers and acquiring them in just a couple of authenticated requests.

Base URL

All requests have the following base:

https://api.fonedynamics.com/v2

To increase security between our endpoints, we require HTTPS and will reject all non-SSL requests.

Authentication

Authentication is performed on each request using basic authentication, with the username as your Account SID and the password as your API Token. To obtain an API Token, please contact us.

Authorization Header:

Authorization: BASIC {TOKEN}

where {TOKEN} is base 64 encoded "Account SID:Account Token" without quotes.

Example:
Authorization: BASIC QTVFUFdKM0lDWEpBUkhVUzVERU9YTExBMzZaUVNaU1E6VE9OQTI2UklXUEVGM1gzWTJET1M1QUk3NkUzTkFSUUE=

Resources


Error codes and messages


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article