Update a fax
POST/Accounts/:AccountSid/Faxes/:Sid
Allows you to modify the properties of Fax.
Permissions
The API token must include the following scopes: Fax.
Request
Path Parameters
The Project ID that uniquely identifies the Account to retrieve.
The Fax ID that uniquely identifies the Fax to retrieve.
- application/x-www-form-urlencoded
Body
The status of the fax.
Possible values: [queued
, processing
, sending
, delivered
, receiving
, received
, no-answer
, busy
, failed
, canceled
]
queued
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the account this fax is associated with.
b3877c40-da60-4998-90ad-b792e98472ac
The version of the SignalWire API.
v1
The date and time, in ISO 8601 format, the fax was created.
2018-11-26T20:00:00Z
The date and time, in ISO 8601 format, the fax was updated.
2018-11-27T20:00:00Z
The direction of the fax. Possible values are inbound
or outbound
.
Possible values: [inbound
, outbound
]
outbound
The phone number, in E.164 format, the fax was sent from.
+13103383454
The URL hosting the received media. Can use this URL to download incoming media. Optionally pass a username and password using the format "https://user:pass@example.com/path/to/fax.pdf".
https://example.com/fax.pdf
ThThe unique identifier for the media instance associated with the fax instance.
b3877c40-da60-4998-90ad-b792e98472me
The number of pages in the fax document.
null
The cost of the fax.
null
The currency, in ISO 4217 format, of the price.
null
The quality of the fax.
Possible values: [standard
, fine
, superfine
]
standard
The unique identifier of the fax.
b3877c40-da60-4998-90ad-b792e98472fx
The status of the fax.
Possible values: [queued
, processing
, sending
, delivered
, receiving
, received
, no-answer
, busy
, failed
, canceled
]
queued
The phone number, in E.164 format, the fax was sent to.
+13104456789
The time, in seconds, it took to deliver a fax.
5000
links
object
The URL links for resources associated with the fax.
Media associated with this fax.
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media
The URL of this resource.
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fx
Error code for this resource (if available).
34004
The description of this error (if available).
The call dropped prematurely
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"api_version": "v1",
"date_created": "2018-11-26T20:00:00Z",
"date_updated": "2018-11-27T20:00:00Z",
"direction": "outbound",
"from": "+13103383454",
"media_url": "https://example.com/fax.pdf",
"media_sid": "b3877c40-da60-4998-90ad-b792e98472me",
"num_pages": "null",
"price": "null",
"price_unit": "null",
"quality": "standard",
"sid": "b3877c40-da60-4998-90ad-b792e98472fx",
"status": "queued",
"to": "+13104456789",
"duration": "5000",
"links": {
"media": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media"
},
"url": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Faxes/b3877c40-da60-4998-90ad-b792e98472fx",
"error_code": "34004",
"error_message": "The call dropped prematurely"
}