You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,12 +139,11 @@ Arguments (Object):
139
139
| `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. |
140
140
| `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. |
141
141
| `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. |
143
142
| `batch_delay` | Integer | False | Specifies the amount of time **in seconds** before the batch is fired. Maximum is 3600 (1 hour). |
144
143
| `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'. |
145
144
| `callback_url` | String | False | You can specify a callback url that will override the one you have defined globally for your account. |
146
145
| `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 }` |
148
147
| `caller_id` | String | False | A Phaxio phone number you would like to use for the caller id. |
149
148
| `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". |
150
149
@@ -281,7 +280,7 @@ Arguments (Object):
281
280
| `direction` | String | False | Either `'sent'` or `'received'`. Limits results to faxes with the specified direction. |
282
281
| `status` | String | False | Limits results to faxes with the specified status. |
283
282
| `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 }` |
285
284
| `per_page` | Integer | False | Maximum number of results returned per call or "page". |
286
285
| `page` | Integer | False | The current page number. 1-based. |
0 commit comments