More
Send migration records
Applies a batch of 1 to 100 records of one kind in dimmi's import format to the migration, as quiet history: nothing is sent and no event goes out. Each record is kept under its source_id, so sending it again updates what it became or skips it when unchanged, and a record naming one not sent yet waits for it. It needs the settings:write ability and the imports:manage permission. Returns a result per record, in the order sent, and the waiting records this batch let through.
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
migrationstringrequiredMigration: text.
Body
application/jsonkindstringrequiredKind: one of teammate, team, tag, attribute_definition, company, contact, contact_note, ticket_type, help_center, collection, article, snippet, saved_reply, schedule, workflow, conversation, ticket.
Available options:teammateteamtagattribute_definitioncompanycontactcontact_noteticket_typehelp_centercollectionarticlesnippetsaved_replyscheduleworkflowconversationticket
recordsany[] | nullrequiredRecords of the kind in the import format, version 1.
Minimum items: 1 · Maximum items: 100
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
kindstringrequiredThe kind of the records sent.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
resolvedobject[] | nullrequiredRecords sent before that waited for this batch and are now applied or failed.
Show child attributesHide child attributes
conflictsobject[] | nullrequiredFields a teammate changed in dimmi, which this sync left as they are.
Show child attributesHide child attributes
dimmianyrequiredThe value it holds in dimmi now, which the sync kept.
fieldstringrequiredThe field a teammate changed in dimmi since the migration wrote it, such as status.
sourceanyrequiredThe value the other tool sent, which was not applied.
errorobjectrequiredShow child attributesHide child attributes
codestringrequiredA stable code for why the record failed, such as company_exists.
fieldstringThe record field at fault, such as external_id. Null when no single field is.
messagestringrequiredWhat went wrong, in words for a person.
idstring | nullrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
kindstringrequiredThe record's kind.
source_idstringrequiredThe record's id in the other tool.
statusstringrequiredcreated, updated, unchanged (sent before as it is and skipped), deferred, failed or unsupported.
Available options:createdupdatedunchangeddeferredfailedunsupported
waiting_forobject[] | nullrequiredThe records a deferred record waits for. Empty otherwise.
Show child attributesHide child attributes
kindstringrequiredThe kind of the record named, such as contact or teammate.
source_idstringrequiredThe record's id in the other tool.
warningsobject[] | nullrequiredFields left out of the record, each with a code and why.
Show child attributesHide child attributes
codestringrequiredA stable code for the warning, such as not_supported_yet or file_unavailable.
fieldstringrequiredThe record field left out, such as custom_attributes.
messagestringrequiredWhat was left out and why, in words for a person.
resultsobject[] | nullrequiredA result per record, in the order sent.
Show child attributesHide child attributes
conflictsobject[] | nullrequiredFields a teammate changed in dimmi, which this sync left as they are.
Show child attributesHide child attributes
dimmianyrequiredThe value it holds in dimmi now, which the sync kept.
fieldstringrequiredThe field a teammate changed in dimmi since the migration wrote it, such as status.
sourceanyrequiredThe value the other tool sent, which was not applied.
errorobjectrequiredShow child attributesHide child attributes
codestringrequiredA stable code for why the record failed, such as company_exists.
fieldstringThe record field at fault, such as external_id. Null when no single field is.
messagestringrequiredWhat went wrong, in words for a person.
idstring | nullrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
kindstringrequiredThe record's kind.
source_idstringrequiredThe record's id in the other tool.
statusstringrequiredcreated, updated, unchanged (sent before as it is and skipped), deferred, failed or unsupported.
Available options:createdupdatedunchangeddeferredfailedunsupported
waiting_forobject[] | nullrequiredThe records a deferred record waits for. Empty otherwise.
Show child attributesHide child attributes
kindstringrequiredThe kind of the record named, such as contact or teammate.
source_idstringrequiredThe record's id in the other tool.
warningsobject[] | nullrequiredFields left out of the record, each with a code and why.
Show child attributesHide child attributes
codestringrequiredA stable code for the warning, such as not_supported_yet or file_unavailable.
fieldstringrequiredThe record field left out, such as custom_attributes.
messagestringrequiredWhat was left out and why, in words for a person.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.