Look into another account
Counts what a key can read in a Resend account: domains, contacts, templates, webhooks and the rest, and says which of them an import brings over. It reads and changes nothing, there or here, and the key is not kept.
opensend.imports.inspect(input)opensend imports inspectInput
sourcestringThe service to read the account from. Without it,
resend.One of
resendapiKeystringRequiredA key of the other account with full access. At Resend it starts with
re_. It is used to read, never to send or to change anything there.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"import_inventory"Always
import_inventory.sourcestringThe service whose account was looked into:
resend.One of
resendresourcesobject[]Everything the key can read there, with how much of it there is.
resources[].resourcestringWhat was counted.
One of
domainssuppressionsaudiencescontactstemplatesbroadcastswebhooksapi_keystopicscontact_propertiesautomationseventsresources[].countintegerHow many the first page holds, up to 100.
resources[].morebooleanWhether there are more than that.
resources[].importablebooleanWhether an import brings it over.
resources[].notestringWhat to know before bringing it over: why it stays behind when it does, or how it arrives. Empty when there is nothing to add.