Send / Receive Faxes via Rest APIs,
Send / Receive Faxes via Rest APIs,
Latest version of ICTFAX offer a complete set of REST APIs to Send and Receive Fax and to configure ICTFAX for DID forwarding, Creating FAX Extensions (Fax ATA) and to control many other fax related activities. here is complete Reference Guide to Fax APIs
In following there are some examples to implement some common fax related scenarios.
Send Fax
In order to send the fax, following steps must be followed:
- Firstly authenticate yourself using the POST authentication API.
- Add the Document you want to send using the POST method with POST documents/{document_id}/media API.
- Next Call the Send Fax Program POST programs/sendfax. It will return the
program_id
of the newly created Program. - POST the transmission using the POST transmissions and get the
transmission_id
. - Next Send the Transmission using the POST transmissions/{transmission_id}/send and the fax will be sent.
Create DID
In order to create new DID, following steps must be followed:
- Firstly authenticate yourself using the POST authentication API.
- Call the POST accounts method and pass the required parameters and set the account type to did. It will create the new DID and will return the
account_id
of newly created DID.
Create Extension
In order to create new DID, following steps must be followed:
- Firstly authenticate yourself using the POST authentication API.
- Call the POST accounts method and pass the required parameters and set the account type to extension. It will create the new DID and will return the
account_id
of newly created Extension.