Faxcorrect API
5 operations. Back to the API overview. Examples use synthetic data.
Fax correction list
GET /admin/v1/fax-log/corrections
Needs the permissions: fax:log, fax:resend.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
all | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
corrections | any | optional | - |
{
"corrections": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/fax-log/corrections"Fax correction apply
POST /admin/v1/fax-log/corrections
Needs the permission: fax:resend.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
confirm | string | optional | - |
new | string | optional | - |
old | string | optional | - |
reason | string | optional | - |
{
"confirm": "example",
"new": "example",
"old": "example",
"reason": "Example text"
}Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"confirm":"example","new":"example","old":"example","reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/fax-log/corrections"Fax correction preview
POST /admin/v1/fax-log/corrections/preview
Needs the permission: fax:resend.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
old | string | optional | - |
{
"old": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
destinations | any | optional | - |
destinations_outside_scope | any | optional | - |
faxes | any | optional | - |
held_or_retrying | any | optional | - |
old_masked | any | optional | - |
organization_wide | any | optional | - |
waiting | any | optional | - |
{
"destinations": {},
"destinations_outside_scope": {},
"faxes": {},
"held_or_retrying": {},
"old_masked": {},
"organization_wide": {},
"waiting": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"old":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/fax-log/corrections/preview"Fax correction undo
POST /admin/v1/fax-log/corrections/{id}/undo
Needs the permission: fax:resend.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
{
"reason": "Example text"
}Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/fax-log/corrections/example-id/undo"Lists the versions of one destination's saved number...
GET /admin/v1/fax-log/saved-number/history
Lists the versions of one destination's saved number (last four digits only in the list: the full number is shown to fax:resend holders, who are the only callers), newest first.
Needs the permission: fax:resend.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
destination | query | string | optional | - |
route | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
versions | array of any | optional | - |
{
"versions": [
{}
]
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/fax-log/saved-number/history"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.