This defines the Get Files API:
A Fax API request looks like:
https://fax.to/api/v2/files?api_key=xxxxx&limit=xx&page=xx
This request contains:
The following table shows the parameters you use in the request:
Parameter | Description | Required |
---|---|---|
limit | The number of record to return. For example, limit=10 . |
No. |
page | The page you want to get. Basically its pagination. For example, page=1 . |
No. |
The following table shows the information for authentication:
Parameter | Description | Required |
---|---|---|
api_key | Your Key. For example, api_key=f@x2r0ckkz . |
Yes. |
You find your Key in Dashboard.
To ensure privacy, you must use HTTPS for all Faxto API requests.
You submit all requests with a POST or GET call using UTF-8 encoding and URL encoded values.
We support JSON ONLY responses
[
{
"id": 6530,
"filename": "Invoice_60037308.pdf",
"pages": 2,
"size": 156681,
"uploaded": "2016-01-22"
},
{
"id": 19046,
"filename": "Certificate.PDF",
"pages": 1,
"size": 53665,
"uploaded": "2016-04-11"
}, ...
Key | Value | Response Type |
---|---|---|
Array containing files | JSON |
HTTP Status Code | Reason |
---|---|
200 | Successful response |
401 | Unauthorized. |
403 | Rate limit exceeded |
404 | Resource not Found |
500 | Internal server error |