Deskhero Developer Hub
Back to deskhero.com
Lists

Create

Creates a custom list together with its field schema (list_fields) and its group access, always as type CUSTOM since system lists cannot be created through the API. unique_key is derived from the name when omitted, is limited to 30 characters, may not start with "sys_" and must be free; each field may appear only once in the schema, and the workspace's plan limit on the number of lists is enforced.

POST /api/{tenant:minlength(2)}/v{version:apiVersion}/lists
Authorisation
Minimum role: ADMIN

Request arguments

Name Type Source
inputDTO_listBody
Request body example

Response

Status
200 (OK)
Type
DTO_list
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_list
NameTypeReadOnlyDescription
list_fieldsDTO_list_field[]List fields
group_accessDTO_group_access[]Group access
sys_tagsDTO_reference[]Label can be used on POST/PUT to create new tags
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
idInt32ReadOnlyLeave empty on input
typeENUM list_typeReadOnlyType
highest_group_permissionENUM group_permissionReadOnlyCurrent users highest group permission
nameStringName
unique_keyStringUnique key
descriptionStringDescription
entries_countInt32Entries count
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
DTO_list_field
NameTypeReadOnlyDescription
idInt32Id
is_requiredBooleanIs required
is_unique_identifierBooleanIs unique identifier
DTO_group_access
NameTypeReadOnlyDescription
permissionENUM group_permissionPermission
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
ENUM group_permission
ValueNameDescription
0UNKNOWNUNKNOWN
1READRead only
2EDITEdit
3FULLFull
ENUM list_type
ValueNameDescription
0UNKNOWNUNKNOWN
1CUSTOMCUSTOM
2SYS_TAGSSYS_TAGS
3SYS_TICKET_STATUSESSYS_TICKET_STATUSES
4SYS_TICKET_PRIORITIESSYS_TICKET_PRIORITIES
5SYS_TICKET_TYPESSYS_TICKET_TYPES
6SYS_TICKET_FORM_TYPESSYS_TICKET_FORM_TYPES
7SYS_KB_TYPESYS_KB_TYPE
9SYS_FILESSYS_FILES
10SYS_MULTI_OPTIONSSYS_MULTI_OPTIONS

Generated Aug 4, 2026 18:37