Get forwarding emails
Retrieve the list of email addresses to which a fax was forwarded.
Arguments
Name (bold if mandatory | Type | Comments | Default |
---|---|---|---|
id | Number | The transaction ID of the fax for which forwarding addresses are to be retrieved. | None, mandatory. |
Response
If successful, returns a structure containing list of the following values:
Name | Type | Comments |
---|---|---|
Email address | An email address to which forwarding of the fax was attempted. | |
messageStatus | Number | 0 = OK; number smaller than zero = in progress; number greater than zero = error. |
completionTime | DateTime | Completion timestamp. |
Sample Call
Raw HTTP
GET /inbound/faxes/229167854/emails HTTP/1.1
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Host: https://rest.interfax.net/
cURL
curl "https://rest.interfax.net/inbound/faxes/229167854/emails" ^
-u username:password
Sample Response
{
"emailAddress":"username@interfax.net",
"messageStatus":0,
"completionTime":"2012-0623T17:24:11"
}