Retrieve import
One import with where it stands and its report so far.
opensend imports get <id>Flags
<id>stringRequiredThe id of the item. Up to 64 characters.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"import"Always
import.idstringThe id of the import.
sourcestringThe service it reads the account from:
resend.One of
resendstatusstringWhere it stands:
queuedbefore it starts,runningwhile it reads, thencompleted,failedorcanceled.One of
queuedrunningcompletedfailedcanceledresourcesstring[]What was asked for, in the order it is done.
One of
domainssuppressionsaudiencescontactstemplatesbroadcastswebhooksapi_keystopicscontact_propertiesautomationseventsstepstring | nullWhat is being read right now, or
null.One of
domainssuppressionsaudiencescontactstemplatesbroadcastswebhooksapi_keystopicscontact_propertiesautomationseventsreportobject[]One entry for each thing that was asked for, with what came over and what did not.
report[].resourcestringWhat was read:
domains,suppressions,audiences,contacts,templates,broadcasts,webhooksorapi_keys.One of
domainssuppressionsaudiencescontactstemplatesbroadcastswebhooksapi_keystopicscontact_propertiesautomationseventsreport[].foundintegerHow many the other account has, as far as the import has read.
report[].createdintegerHow many were made here.
report[].reusedintegerHow many were here already, from an earlier import or under the same name.
report[].skippedintegerHow many were left out. The notes say why.
report[].notesobject[]What was left out or changed on the way, each with its reason. The first 50 are kept.
report[].notes[].namestringWhat the note is about: a domain, a template, an address.
report[].notes[].reasonstringWhat happened to it, and what to do about it when there is something.
errorstring | nullWhy it failed, or what it is waiting on before it tries again.
nullotherwise.createdAtstringWhen the import was started.
finishedAtstring | nullWhen it ended, or
nullwhile it runs.