Support API
13 operations. Back to the API overview. Examples use synthetic data.
Support info
GET /admin/v1/support
Needs the permission: transactions:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
chat | any | optional | - |
coach | boolean | optional | - |
edition | string | optional | - |
form | any | optional | - |
max_attachment_bytes | any | optional | - |
next_holiday | any | optional | - |
person | boolean | optional | - |
response_targets | array of object (SupportTarget) | optional | - |
response_targets.[]clock | string | optional | - |
response_targets.[]contractual | boolean | optional | Contractual: from MSA Exhibit B.6 (a target, not subject to credits). Internal objectives are false. |
response_targets.[]minutes | integer | optional | - |
response_targets.[]severity | integer | optional | - |
response_targets.[]source | string | optional | - |
retention_days | any | optional | - |
voice | any | optional | - |
{
"chat": {},
"coach": true,
"edition": "example",
"form": {},
"max_attachment_bytes": {},
"next_holiday": {},
"person": true,
"response_targets": [
{
"clock": "example",
"contractual": true,
"minutes": 1,
"severity": 1,
"source": "example"
}
],
"retention_days": {},
"voice": {}
}Other responses
401Authentication required403Not permitted404Not Found
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support"Support cases
GET /admin/v1/support/cases
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
all | query | string | optional | - |
status | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
cases | any | optional | - |
scope | any | optional | - |
{
"cases": {},
"scope": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases"Support open form
POST /admin/v1/support/cases
Needs the permissions: transactions:read, users:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
case_id | string | optional | - |
feature | string | optional | - |
impact | string | optional | blocked, degraded, question |
route | string | optional | - |
text | string | optional | - |
transactions | array of integer | optional | - |
zone | string | optional | - |
{
"case_id": "example-id",
"feature": "example",
"impact": "example",
"route": "example",
"text": "example",
"transactions": [
1
],
"zone": "example"
}Response 200
Success. No body.
Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"case_id":"example-id","feature":"example","impact":"example","route":"example","text":"example","transactions":[1],"zone":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases"Support export
GET /admin/v1/support/cases/export.csv
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
all | query | string | optional | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/export.csv"Support case
GET /admin/v1/support/cases/{id}
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id"Support attach
POST /admin/v1/support/cases/{id}/attachments
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
data | string | optional | base64 |
media_type | string | optional | - |
name | string | optional | - |
{
"data": "example",
"media_type": "example",
"name": "example-name"
}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
bytes | any | optional | - |
id | any | optional | - |
media_type | any | optional | - |
{
"bytes": {},
"id": {},
"media_type": {}
}Other responses
401Authentication required403Not permitted404Not Found422Unprocessable (invalid configuration or input)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"data":"example","media_type":"example","name":"example-name"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id/attachments"Support attachment
GET /admin/v1/support/cases/{id}/attachments/{att}
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
att | path | string | required | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id/attachments/example-att"Support c s a t
POST /admin/v1/support/cases/{id}/csat
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
comment | string | optional | - |
score | integer | optional | - |
{
"comment": "example",
"score": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | string | optional | - |
{
"status": "ok"
}Other responses
401Authentication 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 '{"comment":"example","score":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id/csat"Support resolve
POST /admin/v1/support/cases/{id}/reopen
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
version | integer | optional | - |
{
"version": 1
}Response 200
{}Other responses
401Authentication 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 '{"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id/reopen"Support resolve
POST /admin/v1/support/cases/{id}/resolve
Needs the permissions: transactions:read, users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
version | integer | optional | - |
{
"version": 1
}Response 200
{}Other responses
401Authentication 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 '{"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/cases/example-id/resolve"Answers one turn of a support conversation with the Help Agent
POST /admin/v1/support/chat
Answers one turn of a support conversation with the Help Agent.
Needs the permissions: dlq:retransmit, transactions:read, users:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
case_id | string | optional | - |
context | any | optional | - |
finding | object (SupportFinding) | optional | Finding is a hand-off from an error or Explain panel. |
finding.code | string | optional | - |
finding.kind | string | optional | - |
finding.path | string | optional | - |
finding.route | string | optional | - |
finding.transaction_id | integer | optional | - |
help | any | optional | - |
history | array of object (SupportHistoryTurn) | optional | History is this Help session's earlier turns, held by the browser only (no transcript is stored): the model's context for this turn. |
history.[]role | string | optional | user, agent |
history.[]text | string | optional | - |
text | string | optional | - |
zone | string | optional | Zone is the browser's IANA time zone: the SLA quote is in it. |
{
"case_id": "example-id",
"context": {},
"finding": {
"code": "example",
"kind": "example",
"path": "example",
"route": "example",
"transaction_id": 1
},
"help": {},
"history": [
{
"role": "example",
"text": "example"
}
],
"text": "example",
"zone": "example"
}Response 200
Success. No body.
Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"case_id":"example-id","context":{},"finding":{"code":"example","kind":"example","path":"example","route":"example","transaction_id":1},"help":{},"history":[{"role":"example","text":"example"}],"text":"example","zone":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/support/chat"Is the go-live briefing Help shows when it opens
GET /admin/v1/support/coach
Is the go-live briefing Help shows when it opens: where the plan stands and the next step for this person's role, what waits on others and what is behind plan; inactive once the tenant is live.
Needs the permissions: dlq:retransmit, transactions:read.
Response 200
{
"enabled": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/coach"Support live
GET /admin/v1/support/live
Needs the permission: transactions:read.
Response 200
Success. No body.
Other responses
401Authentication required403Not permitted404Not Found
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/support/live"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.