Skip to content

Resolve Desk Decision

POST
/desk/decisions/{decision_id}/resolve

Resolve a pending card.

snoozed_until is REQUIRED when status=snoozed - it is the fallback timeout even when wake_condition is set, so a snooze can never be indefinite. The app enforces that; this surface does not second-guess it, it forwards the request and lets the single enforcement point answer.

Authorizations

Parameters

Path Parameters

decision_id
required

Decision id (UUID).

string

Decision id (UUID).

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Resolve a pending decision.

object
action_taken
Any of:
object
key
additional properties
any
snoozed_until
Any of:
string format: date-time
status
required

Approved, edited, skipped, deferred, snoozed or done_already. A status the app does not accept is a 400 rather than being silently dropped, which is why this is an open string and not an enum this surface would have to keep in lock-step. done_already resolves the card AND records the work on its entity.

string
wake_condition
Any of:
string

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string