Deskhero Developer Hub
Back to deskhero.com
Imports

Create from dump

Registers an already uploaded export file (GrooveHQ JSON, or Excel in the QA or questionnaire format) as an import. The file is virus scanned and fully parsed before it is accepted, then encrypted and stored under the import while the uploaded temporary file is removed; friendly_name has to be unique among data dump imports and group_id is required for every provider except EXCEL_QUESTIONNAIRE. The response only confirms that the file was accepted, the records themselves (tickets for GrooveHQ, AI processed question and answer material for the Excel formats) are created afterwards by the background job this call starts.

POST /api/{tenant:minlength(2)}/v{version:apiVersion}/imports/create_from_dump
Authorisation
Minimum role: USER

Request arguments

Name Type Source
inputDTO_import_from_dump_inputBody
Request body example

Response

Status
200 (OK)
Type
DTO_import
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_import_from_dump_input
NameTypeReadOnlyDescription
providerENUM import_data_dump_providerProvider
group_idInt32Group id
friendly_nameStringFriendly name
file_keyStringFile key
DTO_import
NameTypeReadOnlyDescription
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
groupDTO_referenceGroup
emailDTO_import_emailEmail
data_dumpDTO_import_data_dumpData dump
idInt32ReadOnlyLeave empty on input
friendly_nameStringFriendly name
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
typeENUM import_typeType
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_import_email
NameTypeReadOnlyDescription
imapDTO_external_auth_imapImap
oauth2DTO_external_auth_oauth2Oauth2
mailboxStringLeave empty for current user
mailbox_folder_nameStringMailbox folder name
total_message_countInt32ReadOnlyTotal message count
retrieved_countInt32ReadOnlyRetrieved count
statusENUM import_email_statusReadOnlyStatus
DTO_external_auth_imap
NameTypeReadOnlyDescription
hostnameStringHostname
portInt32Port
usernameStringUsername
passwordStringPassword
DTO_external_auth_oauth2
NameTypeReadOnlyDescription
identifierStringIdentifier
authorized_accountStringReadOnlyAuthorized account
DTO_import_data_dump
NameTypeReadOnlyDescription
total_countInt32Total count
providerENUM import_data_dump_providerProvider
ENUM import_email_status
ValueNameDescription
0UNKNOWNUNKNOWN
1IN_PROGRESSIn progress
2DONEDone
3ERRORError
ENUM import_data_dump_provider
ValueNameDescription
0UNKNOWNUNKNOWN
1GROOVEHQGrooveHQ
2EXCEL_QAExcel Q&A
3EXCEL_QUESTIONNAIREExcel Questionnaire
4SUPPORT_BOX_EMLSupportBox EML
ENUM import_type
ValueNameDescription
0UNKNOWNUNKNOWN
1EMAILEmail
2DATA_DUMPData dump

Generated Aug 4, 2026 18:37