Sending a Fax
NOTE: All parameters are Case Sensitive and must be in the BODY of the POST, URLENCODED.
auth is the string of text in the phone system's Advanced menu. It looks like a lot of nonsense.
containerID is the 6-digit Container ID number that is present in the top-left corner of the Dashboard when logged into a particular container.
boxID is the UniqueID of a fax box (also referred to as a UCP Account) within the PBX interface.
toNumber is the phone number to send the fax to. Please make sure your number is an American phone number. The 1 in front of the number is optional. We do not support faxing outside of the USA.
fileUrl is the URL of the file to be downloaded to send. The file MUST be a PDF. You do not need to URLENCODE this parameter, you can keep all the characters in it as they are.
RESULT: JSON Syntax, either an error string or a success string.
"success":
"error":
"Your Container ID is invalid."
"Your API Auth Key is invalid."
"Your UCP Box ID is invalid."
"Destination toNumber is missing."
"You must supply a file URL for the eFax server to download."
"The file you want to send is not a PDF".
"Error connecting to the database. Try again later."
"The supplied UCP Box ID either does not exist, or is out of your scope of access."
"You cannot fax international destinations."
"Something is wrong with the file. It is either not a PDF, or we could not download it."
"Unknown issue with database query, could not commit fax to database."
Requesting Fax Status
NOTE: All parameters are Case Sensitive.
auth is the string of text in the phone system's Advanced menu. It looks like a lot of nonsense.
containerID is the 6-digit Container ID number that is present in the top-left corner of the Dashboard when logged into a particular container.
efaxID is the UniqueID of a previously uploaded eFax.
RESULT: JSON Syntax, either an error string or a success string.
"status":
"error":
"Your Container ID is invalid."
"Your API Auth Key is invalid."
"Your supplied eFax ID is invalid."
"Error connecting to the database. Try again later."
"Unknown issue with database query, could not retrieve fax status."
Fax Webhooks (Incoming & Outgoing)
To set up webhooks, as an Admin, go to UCP Users → Manage, and edit one of your eFax boxes (UCP Accounts). Then click to the EFAX/SMS tab. These settings can also be managed from within a UCP Account too, when a user is logged in.
Incoming Fax Webhook Events will be POSTed to your URL whenever a fax is received. The body of the POST will be urlencoded (sorry, no JSON yet) with a download URL for you to retrieve the fax PDF. Fax PDFs are only kept for 30 days.
Outgoing Fax Status Webhook Events will be POSTed to your URL whenever an outgoing fax changes status. Please review the Possible Responses in the above "Requesting Fax Status" section. The response will be in JSON.
Important! After setting up webhooks, you must hit the big red APPLY CHANGES button at the top. This is because a reload needs to occur in the phone system dial plan.
Related Articles
Digital Fax (Sending and Receiving)
What Is eFaxing? Traditionally, faxes are sent and received through a physical fax machine, which may be incorporated with your printer/copier. eFax will still send to and receive from traditional fax machines, but replaces your physical fax machine ...
Initial Login / App Selector
Overview Below is the App Selection screen you will see after logging in. Note: Depending on your permissions (or your users' permissions), it's possible that not all apps will be visible. eFax / SMS / My Extension This app contains what is referred ...
CallerID Get (3rd Party CID Fetch)
Overview Instead of using the national CallerID database, we can fetch a caller's CallerID information from a 3rd party system or CRM software, as long as they implement the proper API on their side. Configuration Settings You can configure CallerID ...
Call History / CDR (V2)
Getting a List of Calls (Call Summary API) REQUEST: GET http://pbx.primevox.net/api/call_list.php?auth=API_KEY&containerID=CCCCCC&tenantID=TTT&{extra filter parameters, see below} NOTE: All parameters are Case Sensitive. auth (API_KEY) is your API ...
Text Messaging (SMS) and Picture Messaging (MMS)
Overview Text messages (SMS) and picture messages (MMS) can be sent and received using the Cloud Softphone Mobile Application or by logging into your online User Control Panel (UCP) account. Most browsers are supported; however, we recommend using ...