Developer reference
PennyTone REST API
Pull your faxes, voicemails, call records, and recordings out of your phone system and into your own tools.
Version v7
JSON responses
Read-only (GET)
Token auth
How it works, in 3 steps
Every resource works the same way. Learn it once, use it everywhere.
- 1 Set up
Enter your PBX address below and keep your token handy.
- 2 Find records
Call a list endpoint. Each record has a UUID.
- 3 Download the file
Pass that UUID to the download endpoint, then base64-decode it.
The same address you use to log in to your phone system. Every example on this page updates as you type. It's saved in your browser only.
Step 1 · paste into your terminal
export API_TOKEN='<your_api_token>'
export API_BASE='https://your-pbx-address/app/api/7'Good to know
Open only what you need.
Endpoints
Faxes you received (rx) or sent (tx).
GET
/fax_files
Step 1 · find records
List fax records. Each one has a fax_file_uuid.
Request · curl
curl --request GET \
--url 'https://your-pbx-address/app/api/7/fax_files?fax_mode=rx' \
--header "Authorization: Basic $API_TOKEN" \
--header 'Content-Type: application/json'fax_file_uuid to /get_faxGET
/get_fax
Step 2 · download file
Download one fax file. The file comes back base64-encoded in result.
Request · curl
curl --request GET \
--url 'https://your-pbx-address/app/api/7/get_fax?uuid=<fax_file_uuid>' \
--header "Authorization: Basic $API_TOKEN" \
--header 'Content-Type: application/json'Decode it
Base64-decode result to get the original file (usually .tif).
Stuck? Call us at (310) 409-0570. A person picks up.