Skip to content
dimmiDocs

Contacts and companies

List imports

GET/api/v1/imports

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the contacts:write ability

Query parameters

kindstringrequired

Which imports to list: contacts (imports of customers) or companies. Required. Such as contacts.

Available options:contactscompanies

Response 200

OK
dataobject[] | nullrequired

The items of this page, as a list; empty when nothing matches.

Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

created_by_namestring | nullrequired

Name of the teammate who started the import. Null when it is not known.

created_countintegerrequired

How many records the import has created so far.

Format: int32

error_report_urlstring | nullrequired

API path of the report listing every failed row, such as /api/v1/imports/imp_.../errors. Null when no row failed.

failed_countintegerrequired

How many rows could not be imported so far.

Format: int32

file_expired_atstring | nullrequired

When the uploaded file was deleted, 30 days after the import finished. Null while the file is still kept.

Format: date-time

file_namestringrequired

Name of the uploaded file, such as customers.csv.

finished_atstring | nullrequired

When the import completed or failed. Null until then.

Format: date-time

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

What the file holds: contacts (customers) or companies.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

processed_rowsintegerrequired

How many rows have been handled so far; compare with row_count for progress.

Format: int32

rollbackobjectrequired
Show child attributes
errorstring | nullrequired

Why undoing the import failed, in words. Null unless the undo's status is failed.

finished_atstring | nullrequired

When the undo completed or failed. Null until then.

Format: date-time

keptintegerrequired

How many records the undo left as they are, because they changed or were used since the import.

Format: int32

kept_recordsobject[] | nullrequired

The first kept records, at most 100, each with its id, name and why it was kept.

Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Name of the record the undo left as it is.

reasonstringrequired

Why the record was kept, such as Changed since the import. or Has had a conversation since the import.

processedintegerrequired

How many records the undo has handled so far; compare with total for progress.

Format: int32

removedintegerrequired

How many records the undo deleted because the import had created them.

Format: int32

requested_atstring | nullrequired

When undoing the import was asked for.

Format: date-time

revertedintegerrequired

How many records the undo put back to what they were before the import.

Format: int32

statusstringrequired

Where undoing the import stands: queued, running, completed or failed.

totalintegerrequired

How many records the undo has to go through.

Format: int32

rollback_untilstring | nullrequired

The time until which the import can be undone, 7 days after it finished. Null while it has not finished.

Format: date-time

row_countintegerrequired

How many data rows the file holds.

Format: int32

skipped_countintegerrequired

How many rows were left out so far, such as rows matching an existing record in skip mode.

Format: int32

statusstringrequired

Where the import stands: draft (uploaded, not started), queued, running, completed or failed.

updated_countintegerrequired

How many existing records the import has changed so far.

Format: int32

linksobject

Addresses of related pages by name, such as next; left out when there are none.

metaobjectrequired
Show child attributes
next_cursorstring | nullrequired

Send it as cursor to read the next page; null on the last page.

per_pageintegerrequired

How many items a page holds at most, such as 25.

Format: int64

prev_cursorstring | nullrequired

Send it as cursor to read the page before; null on the first page.

totalinteger

How many items match in all; left out when the list does not count them.

Format: int64

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.