Workspace configuration
Update a call or ticket outcome
Changes an outcome's name, kind or requires_note. Say which list it is in with the query kind, call by default or ticket.
Requires: desk.admin scope, workspace owner or admin.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Path Parameters
id*string
The outcome's id (a UUID).
Query Parameters
kind?string
call (the default) or ticket.
Request Body
application/json
Response
OK
Example
{ "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37", "name": "Amina Wanjiru", "effect": "example", "requires_note": false, "position": 1}FieldTypeDescription
idrequiredstring (uuid)namerequiredstringA name for it.effectrequiredstringWhat closing the call does to the ticket, as the outcome's settings define.requires_noterequiredbooleanTrue if the person must write a note before they can choose this outcome.positionrequiredintegerWhere it sits in the list, starting at 0.curl -X PATCH "https://api.sautidesk.com/v1/desk/outcomes/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Amina Wanjiru", "effect": "example", "requires_note": false }'