Skip to content

Depot inbox

Registers the cross-client inbox.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETticket:readmsp facemspIdempotent

Source: [object Object]

inboxCounts deliberately ignores clientId.

It is the roster the console builds its client filter FROM, so narrowing it to the current selection would leave a picker holding one option and no way back to the others.

StatusBodyDescription
200application/json, InboxCountsResponseSuccess.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold ticket:read.
500application/problem+json, ProblemDetailsCould not list clients.
503application/problem+json, ProblemDetailsThe cross-client inbox is not available on this server.

200 response body

FieldTypeDescription
clientsrequiredarray of InboxClientCount
clients[].breachedrequiredinteger
clients[].clientNamerequiredstring
clients[].clientPublicIdrequiredstring
clients[].openrequiredinteger
clients[].unreadrequiredinteger
totalBreachedrequiredinteger
totalOpenrequiredinteger
unavailableClientsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/inbox/counts' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

GETticket:readmsp facemspIdempotent

Source: [object Object]

List inbox tickets

NameInTypeRequiredDescription
agentIdquerystringNo
assigneeIdquerystringNo
breachedquerystringNo
categoryquerystringNo
clientIdquerystringNo
createdAfterquerystringNo
createdBeforequerystringNo
pagequeryintegerNoOne-based page number. Defaults to 1.
pageSizequeryintegerNoRows per page, 1 to 200. Defaults to 50.
priorityquerystring, one of critical, high, normal, urgentNoComma-separated set. An unrecognised value is refused.
qquerystringNo
queueIdquerystringNo
requesterIdquerystringNo
sortquerystringNo
statusquerystringNo
statusCategoryquerystringNo
statusCategoryNotquerystringNo
subcategoryquerystringNo
tagquerystringNo
StatusBodyDescription
200application/json, InboxPageResponseSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold ticket:read.
500application/problem+json, ProblemDetailsCould not list clients.
503application/problem+json, ProblemDetailsThe cross-client inbox is not available on this server.

200 response body

FieldTypeDescription
itemsrequiredarray of InboxTicketView
items[].agentIdstring
items[].assigneeIdstring
items[].assigneeNamestring
items[].channelrequiredstring
items[].clientNamerequiredstring
items[].clientPublicIdrequiredstring
items[].createdAtrequiredstring (date-time)
items[].hostnamestring
items[].lastPublicReplyAtstring (date-time) or null
items[].messageCountrequiredinteger
items[].numberrequiredinteger

int64.

items[].parentIdstring
items[].priorityrequiredstring
items[].publicIdrequiredstring
items[].queueIdstring
items[].queueNamestring
items[].referencerequiredstring
items[].requesterConfidencerequiredstring
items[].requesterEmailstring
items[].requesterIdstring
items[].requesterNamerequiredstring
items[].siteNamestring
items[].slaBreachedrequiredboolean
items[].slaNextEventAtstring (date-time) or null
items[].statusrequiredstring
items[].statusCategoryrequiredstring
items[].statusNamerequiredstring
items[].subcategorystring
items[].subjectrequiredstring
items[].tagsrequiredarray of string
items[].typerequiredstring
items[].unreadrequiredboolean
items[].updatedAtrequiredstring (date-time)
pagerequiredinteger
pageSizerequiredinteger
totalrequiredinteger
unavailableClientsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/inbox/tickets?agentId=<agentId>&assigneeId=<assigneeId>&breached=<breached>&category=<category>&clientId=<clientId>&createdAfter=<createdAfter>' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.