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 [flags]Flags
--sourcestringThe service to read the account from. Without it,
resend.One of
resend--api-keystringRequiredA 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 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_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.