Skip to content

Commit 7107d7f

Browse files
Merge pull request #2 from phaxio/v1.1.0
V1.1.0
2 parents 3cce790 + 023c96e commit 7107d7f

5 files changed

Lines changed: 506 additions & 570 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,11 @@ Arguments (Object):
139139
| `file` | String or Array | Only when sending files from filesystem | The file you wish to fax. A least one file or content_url parameter is required. Pass an `Array` to send to multiple files. |
140140
| `content_url` | String or Array | Only when sending public URL's | URL to be rendered and sent as the fax content. At least one file or content_url parameter is required. Pass an `Array` to send to multiple URL's. |
141141
| `header_text` | String | False | Text that will be displayed at the top of each page of the fax. 50 characters maximum. Default header text is "-". Note that the header is not applied until the fax is transmitted, so it will not appear on fax PDFs or thumbnails. |
142-
| `batch` | Boolean | False | Enables batching of faxes. See [docs](https://www.phaxio.com/docs/api/v2.1/faxes/batching) for more information. |
143142
| `batch_delay` | Integer | False | Specifies the amount of time **in seconds** before the batch is fired. Maximum is 3600 (1 hour). |
144143
| `batch_collision_avoidance` | Boolean | False | When batch_delay is set to 'true', fax will be blocked until the receiving machine is no longer busy. See [docs](https://www.phaxio.com/docs/api/v2.1/faxes/batching) for more info. Default is 'false'. |
145144
| `callback_url` | String | False | You can specify a callback url that will override the one you have defined globally for your account. |
146145
| `cancel_timeout` | Integer | False | A number of minutes after which the fax will be canceled if it hasn't yet completed. **Must be between 3 and 60.** Additionally, for faxes with a `batch_delay`, the `cancel_timeout` must be at least 3 minutes after the `batch_delay`. If it is not, it will automatically be extended when batching. |
147-
| `tags` | String or Array | False | A tag that contains metadata relevant to your application. **Value must have format `tag[TAG_NAME]=1234`.** You may specify up to 10 tags. Pass an `Array` to send to multiple tag's. |
146+
| `tags` | Object | False | An object containing `key: value` metadata tags relevant to your application. You may specify up to 10 tags. `{ my_tag1: tag_val1, my_tag2: tag_val2, ..., my_tag10: tag_val10 }` |
148147
| `caller_id` | String | False | A Phaxio phone number you would like to use for the caller id. |
149148
| `test_fail` | String | False | When using a test API key, this will simulate a sending failure at Phaxio. The contents of this parameter should be one of the Phaxio error types which will dictate how the fax will "fail". |
150149
@@ -281,7 +280,7 @@ Arguments (Object):
281280
| `direction` | String | False | Either `'sent'` or `'received'`. Limits results to faxes with the specified direction. |
282281
| `status` | String | False | Limits results to faxes with the specified status. |
283282
| `phone_number` | String | False | 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. |
284-
| `tags` | String or Array | False | A tag name and value that you want to use to filter results. **Value must have format `tag[TAG_NAME]=1234`.** Pass an `Array` to send to multiple tag's. |
283+
| `tags` | Object | False | An object containing `key: value` metadata tags relevant to your application. You may specify up to 10 tags. `{ my_tag1: tag_val1, my_tag2: tag_val2, ..., my_tag10: tag_val10 }` |
285284
| `per_page` | Integer | False | Maximum number of results returned per call or "page". |
286285
| `page` | Integer | False | The current page number. 1-based. |
287286

0 commit comments

Comments
 (0)