Fax API v3.0

RESTful API for eFax Services

Authentication

Access Token is required in order to access Fax API functions. Click here for OAuth2 authentication instruction.
Put a valid Access Token in each HTTP Request Header:
Authorization: Bearer {access_token}

Endpoints

FunctionEndpoint
getSingleMessageInfo
GET https://fax.maxmddirect.com/api/fax/{fax_number}/{message_handle}

get single message information based on fax number and message handle

Sample Codes:
getMultipleMessageInfo
GET https://fax.maxmddirect.com/api/fax/getMessageList/{fax_number}/{offset}

get multiple message information based on fax number with offset. Set offset to be 0 to get the most recent 10 fax messages

Sample Codes:

HTTP Request Header

Authorization: Bearer {accessToken}

Content-Type: application/json

HTTP Response Code

HTTP Code Description
200 Success.
400 Bad Request. Invalid action. Or some parameter is missing or invalid.
401 Unauthorized. No valid access token is found at request.
403 Forbidden. Permission denied for the requested action
404 Endpoint is not found
500 Server Error.

Error Response Body (format: application/json)

NameTypeDescription
error String Error message
description String Error description

Success Response Body (format: application/json)

NameTypeDescription
Username String MaxMD Username
MessageHandle String Unique message identifier to retrieve message information
MessageDetail MessageObject[] List of MessageObjects
fax_number String Fax number used in sending fax.
status String Status of message: waiting or complete
updated_ts Timestamp Updated timestamp
recipients RecipientObject[] List of Recipient Objects
Address String The fax number has been dialed.
Name String Name associated with this recipient.
PageCount Integer Number of pages per recipient
description String Description
description String Description