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
Get Numbers
Configure Numbers
Get Calls
Find Available Numbers
Purchase Numbers
Release Numbers
Get Addresses
Add or Remove Addresses