Greenfax
GreenFax - Internet Faxing and Virtual Fax
=Greenfax

Login  |   Signup

McAfee SECURE sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
GreenFax   Integration Guide (Outbound Faxing)

Application developers who need to send outbound faxes from their application should submit fax jobs to GreenFax using GreenFax's email-to-fax service. GreenFax provides two web service API methods for developers to use for capturing the status of completed outbound fax jobs.


HTTP Notify API
The HTTP Notify method is used to send status information of completed fax jobs from GreenFax to your system through an HTTP (or HTTPS) GET request. A listener script on your web server is required to receive the information passed in the GET request. Upon completion of a fax job, the GreenFax system will execute an HTTP GET method to the URL of your listener script on your web server, passing status information of the completed job in the query string. The format of the GET request from our system to your listener script will be:

http(s)://yourdomain.com/yourscript?result=aaaaa&timestamp=bbbbb
&destination=ccccc&pages=ddddd&duration=eeeee&userjobcode=fffff
&greenfaxreferenceid=ggggg&cost=hhhhh


Please note that some of the values in the query string may be URL-encoded. To enable HTTP Notify on your GreenFax account, please email your request to GreenFax Support and include the URL of your listener script.


XML Data Feed
A log of outbound faxes sent through a GreenFax account is available in XML format over HTTPS. The outbound fax log is accessible via an HTTPS GET request to a URL in the following format:

https://www.greenfax.com/api/xml/outbound.php?accountid=aaaaa
&password=bbbbb&startdate=cccc-cc-cc&enddate=dddd-dd-dd


where:
  • aaaaa is a 5-digit GreenFax account id
  • bbbbb is the GreenFax account login password
  • cccc-cc-cc is the query start date
  • dddd-dd-dd is the query end date
Dates should be in the format YYYY-MM-DD or YYYY-MM-DD%hh:mm:ss. Date range may not exceed 90 days. Please limit your XML requests to no more than one request every 10 minutes.

The XML output of the query will include the following attributes for each fax: GreenFax job id, fax number, sender, status, pages, duration, cost, fax timestamp.



GreenFax
GreenFax.com
215-489-1800
Network Status | Contact | Terms of Service | Privacy Statement © 1998-2012 Meixler Technologies, Inc.
All rights reserved.
GreenFax