List faxes in date range
Method
Path
faxes
Request Parameters
Name | Type | Description |
---|---|---|
created_before | RFC 3339 Timestamp | The end of the range. Must be in RFC 3339 format, except that the timezone may be obmitted (e.g. '`2016-05-31T23:59:59`'). Defaults to now. |
created_after | RFC 3339 Timestamp | The beginning of the range. Must be in RFC 3339 format, except that the timezone may be obmitted (e.g. '`2016-05-01T00:00:00`'). Defaults to one week ago. |
direction | string | Either '`sent`' or '`received`'. Limits results to faxes with the specified direction. |
status | string | Limits results to faxes with the specified status. | phone_number | Phone Number | A phone number in E.164 format that you want to use to filter results. The phone number must be an exact match, not a number fragment. |
tag[TAG_NAME] | string | A tag name and value that you want to use to filter results. (e.g. You could pass a parameter called `tag[userId]` with value `123` to retrieve faxes for a user in your application that has ID 123.) |
This operation also accepts paging parameters.
Response
A JSON object with success
, message
,
data
, and paging
attributes. Results are
paginated and the paging
attribute
holds information about the length of the data for your query. The data
attribute holds an array of Fax objects in descending
order of creation time.