Update a Fax
Cancels a fax while it is still in queued status. Faxes that have begun processing, sending, or receiving cannot be canceled with this operation. Fax Logs are read-only and cannot change delivery state.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Fax.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
The Project ID that uniquely identifies the Account.
Universal Unique Identifier.
The Fax ID that uniquely identifies the Fax.
Response
The request has succeeded.
Example response
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"api_version": "v1",
"date_created": "2018-11-26T20:00:00Z",
"date_updated": "2018-11-27T20:00:00Z",
"from": "+13103383454",
"media_url": "https://example.com/fax.pdf",
"media_sid": "b3877c40-da60-4998-90ad-b792e98472me",
"num_pages": "3",
"price": "-0.005",
"price_unit": "USD",
"sid": "b3877c40-da60-4998-90ad-b792e98472fx",
"to": "+13104456789",
"duration": 5000,
"links": {
"media": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx/Media"
},
"url": "/fax/v1/Faxes/b3877c40-da60-4998-90ad-b792e98472fx"
}Changes
Changed in 6 of the 40 revisions of this API.31153
- ▲
added 'unevaluatedProperties' constraint to the request body
request-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
200response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
400response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
401response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
404response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
422response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the
links/allOf[FaxLinks]/response property for the status200response-property-unevaluated-properties-added
- ▲
- ▲
response property
error_codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
error_messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
media_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
num_pageslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
pricelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ▲
request body became required
request-body-became-required
- ▲
the request property
Statusbecame requiredrequest-property-became-required
- ▲
removed the enum value
busyof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
deliveredof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
failedof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
no-answerof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
processingof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
queuedof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
receivedof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
receivingof the request propertyStatusrequest-property-enum-value-removed
- ▲
removed the enum value
sendingof the request propertyStatusrequest-property-enum-value-removed
- ▲
the response property
error_codebecame nullable for the status200response-property-became-nullable
- ▲
the response property
error_messagebecame nullable for the status200response-property-became-nullable
- ▲
the response property
media_urlbecame nullable for the status200response-property-became-nullable
- ▲
the response property
num_pagesbecame nullable for the status200response-property-became-nullable
- ▲
the response property
pricebecame nullable for the status200response-property-became-nullable
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
the response property
account_sidbecame required for the status200response-property-became-required
- ○
the response property
api_versionbecame required for the status200response-property-became-required
- ○
the response property
date_createdbecame required for the status200response-property-became-required
- ○
the response property
date_updatedbecame required for the status200response-property-became-required
- ○
the response property
directionbecame required for the status200response-property-became-required
- ○
the response property
durationbecame required for the status200response-property-became-required
- ○
the response property
error_codebecame required for the status200response-property-became-required
- ○
the response property
error_messagebecame required for the status200response-property-became-required
- ○
the response property
frombecame required for the status200response-property-became-required
- ○
the response property
linksbecame required for the status200response-property-became-required
- ○
the response property
links/allOf[FaxLinks]/mediabecame required for the status200response-property-became-required
- ○
the response property
media_sidbecame required for the status200response-property-became-required
- ○
the response property
media_urlbecame required for the status200response-property-became-required
- ○
the response property
num_pagesbecame required for the status200response-property-became-required
- ○
the response property
pricebecame required for the status200response-property-became-required
- ○
the response property
price_unitbecame required for the status200response-property-became-required
- ○
the response property
qualitybecame required for the status200response-property-became-required
- ○
the response property
sidbecame required for the status200response-property-became-required
- ○
the response property
statusbecame required for the status200response-property-became-required
- ○
the response property
tobecame required for the status200response-property-became-required
- ○
the response property
urlbecame required for the status200response-property-became-required
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
request body became optional
request-body-became-optional
- ○
- ▲
removed the media type
application/jsonfrom the request bodyrequest-body-media-type-removed
- ○
added the media type
application/x-www-form-urlencodedto the request bodyrequest-body-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new path request parameter
AccountSidnew-request-path-parameter
- ▲
added the new path request parameter
Sidnew-request-path-parameter
- ▲
request body became required
request-body-became-required
- ▲
removed the media type
application/x-www-form-urlencodedfrom the request bodyrequest-body-media-type-removed
- ▲
the
directionresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ▲
the
linksresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
the
qualityresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ▲
the
statusresponse's property type/format changed fromstring/to/for status200response-property-type-changed
- ●
removed the optional property
links/mediafrom the response with the200statusresponse-optional-property-removed
- ○
added the media type
application/jsonto the request bodyrequest-body-media-type-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added
FaxDirectionto thedirectionresponse propertyallOflist for the response status200response-property-all-of-added
- ○
added
FaxLinksto thelinksresponse propertyallOflist for the response status200response-property-all-of-added
- ○
added
FaxQualityto thequalityresponse propertyallOflist for the response status200response-property-all-of-added
- ○
added
FaxStatusto thestatusresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed the
busyenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
canceledenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
deliveredenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
failedenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
fineenum value from thequalityresponse property for the response status200response-property-enum-value-removed
- ○
removed the
inboundenum value from thedirectionresponse property for the response status200response-property-enum-value-removed
- ○
removed the
no-answerenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
outboundenum value from thedirectionresponse property for the response status200response-property-enum-value-removed
- ○
removed the
processingenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
queuedenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
receivedenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
receivingenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
sendingenum value from thestatusresponse property for the response status200response-property-enum-value-removed
- ○
removed the
standardenum value from thequalityresponse property for the response status200response-property-enum-value-removed
- ○
removed the
superfineenum value from thequalityresponse property for the response status200response-property-enum-value-removed
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲