Priorauth actions API
4 operations. Back to the API overview. Examples use synthetic data.
Pa requests
GET /admin/v1/prior-auth/requests
Needs the permission: transactions:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
available | any | optional | - |
requests | array of object (PARequest) | optional | - |
requests.[]allowed | array of string | optional | Allowed are the actions the state allows (update, cancel, attach). |
requests.[]destination | string | optional | - |
requests.[]follow | string | optional | - |
requests.[]inquiries | integer | optional | - |
requests.[]next_check_at | string (date-time) | optional | - |
requests.[]open_action | string | optional | - |
requests.[]open_documentation | integer | optional | - |
requests.[]outcome | string | optional | - |
requests.[]route | string | optional | - |
requests.[]state | string | optional | - |
requests.[]submitted_at | string (date-time) | optional | - |
requests.[]transaction_id | integer | optional | - |
requests.[]updated_at | string (date-time) | optional | - |
requests.[]version | integer | optional | - |
{
"available": {},
"requests": [
{
"allowed": [
"example"
],
"destination": "example",
"follow": "example",
"inquiries": 1,
"next_check_at": "2026-01-15T14:30:00Z",
"open_action": "example",
"open_documentation": 1,
"outcome": "example",
"route": "example",
"state": "ok",
"submitted_at": "2026-01-15T14:30:00Z",
"transaction_id": 1,
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}
]
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/prior-auth/requests"Pa request
GET /admin/v1/prior-auth/requests/{route}/{dest}/{id}
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
route | path | string | required | - |
dest | path | string | required | - |
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
actions | array of object (PAAct) | optional | - |
actions.[]created_at | string (date-time) | optional | - |
actions.[]done_at | string (date-time) | optional | - |
actions.[]id | integer | optional | - |
actions.[]kind | string | optional | - |
actions.[]reason | string | optional | - |
actions.[]requested_by | string | optional | - |
actions.[]state | string | optional | - |
actions.[]version | integer | optional | - |
documentation | array of object (PADoc) | optional | - |
documentation.[]batch | integer | optional | - |
documentation.[]code | string | optional | - |
documentation.[]due_at | string (date-time) | optional | - |
documentation.[]kind | string | optional | - |
documentation.[]lines | array of integer | optional | - |
documentation.[]reason | string | optional | - |
documentation.[]request | integer | optional | - |
documentation.[]state | string | optional | - |
request | object (PARequest) | optional | PARequest is a request's metadata for the console. |
request.allowed | array of string | optional | Allowed are the actions the state allows (update, cancel, attach). |
request.destination | string | optional | - |
request.follow | string | optional | - |
request.inquiries | integer | optional | - |
request.next_check_at | string (date-time) | optional | - |
request.open_action | string | optional | - |
request.open_documentation | integer | optional | - |
request.outcome | string | optional | - |
request.route | string | optional | - |
request.state | string | optional | - |
request.submitted_at | string (date-time) | optional | - |
request.transaction_id | integer | optional | - |
request.updated_at | string (date-time) | optional | - |
request.version | integer | optional | - |
{
"actions": [
{
"created_at": "2026-01-15T14:30:00Z",
"done_at": "2026-01-15T14:30:00Z",
"id": 1,
"kind": "example",
"reason": "Example text",
"requested_by": "example",
"state": "ok",
"version": 1
}
],
"documentation": [
{
"batch": 1,
"code": "example",
"due_at": "2026-01-15T14:30:00Z",
"kind": "example",
"lines": [
1
],
"reason": "Example text",
"request": 1,
"state": "ok"
}
],
"request": {
"allowed": [
"example"
],
"destination": "example",
"follow": "example",
"inquiries": 1,
"next_check_at": "2026-01-15T14:30:00Z",
"open_action": "example",
"open_documentation": 1,
"outcome": "example",
"route": "example",
"state": "ok",
"submitted_at": "2026-01-15T14:30:00Z",
"transaction_id": 1,
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/prior-auth/requests/example-route/example-dest/example-id"Shows the request's items as sent, to a person who may change them
GET /admin/v1/prior-auth/requests/{route}/{dest}/{id}/items
Shows the request's items as sent, to a person who may change them: audited (NOTICE) before the buffered request is read.
Needs the permission: prior_auth:act.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
route | path | string | required | - |
dest | path | string | required | - |
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
cancelled | any | optional | - |
items | any | optional | - |
{
"cancelled": {},
"items": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/prior-auth/requests/example-route/example-dest/example-id/items"Pa action
POST /admin/v1/prior-auth/requests/{route}/{dest}/{id}/{op}
Needs the permission: prior_auth:act.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
route | path | string | required | - |
dest | path | string | required | - |
id | path | string | required | - |
op | path | string | required | - |
Request body
{}Response 202
| Field | Type | Presence | Description |
|---|---|---|---|
action_id | any | optional | - |
state | any | optional | - |
{
"action_id": {},
"state": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/prior-auth/requests/example-route/example-dest/example-id/example-op"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.