Deskhero Developer Hub
Back to deskhero.com
Auto saves

Get one

Returns the calling User's own unsaved draft for an entity type, for example a half written ticket reply or article, keyed by the entity plus the optional_id of the record being edited (leave it out for a draft of a new record). Data comes back null when there is no draft, and for ticket, conversation and knowledge base drafts the attachments staged with the draft are resolved and included.

GET /api/{tenant:minlength(2)}/v{version:apiVersion}/auto_saves/{entity}
Authorisation
Minimum role: USER

Request arguments

Name Type Source
entityENUM entity
optional_idInt32Query
Request body example

Response

Status
200 (OK)
Type
DTO_auto_save
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_auto_save
NameTypeReadOnlyDescription
entityENUM entityEntity
optional_idInt32 (nullable)Optional id
dataJObjectData
ENUM entity
ValueNameDescription
0UNKNOWNUNKNOWN
1LISTLIST
2GROUPGROUP
3USERUSER
4LIST_ENTRYLIST_ENTRY
5TICKETTICKET
6SEARCHSEARCH
7INVOICEINVOICE
8KNOWLEDGE_BASEKNOWLEDGE_BASE
9SCRAPED_ITEMSCRAPED_ITEM
10FIELDFIELD
11TICKET_CONVERSATIONTICKET_CONVERSATION
12EXPORTEXPORT
13EXTERNAL_PRODUCTEXTERNAL_PRODUCT
14TEMPLATETEMPLATE
15PROFILE_APIPROFILE_API
16FAQFAQ

Generated Aug 4, 2026 18:37