# Retrieve import

`imports_get`

One import with where it stands and its report so far.

Needs the scope: `imports:read`

## Arguments

- `id` (string, required): The id of the item. Up to 64 characters.

## Returns

The answer comes back under `structuredContent`, with the same JSON as text in `content`. A call the API refuses comes back with `isError` set, and the code and the message under `structuredContent.error`. [MCP](https://opensend.sh/docs/mcp) shows how to connect a client.

- `object` ("import"): Always `import`.
- `id` (string): The id of the import.
- `source` (string): The service it reads the account from: `resend`. One of: `resend`.
- `status` (string): Where it stands: `queued` before it starts, `running` while it reads, then `completed`, `failed` or `canceled`. One of: `queued`, `running`, `completed`, `failed`, `canceled`.
- `resources` (string[]): What was asked for, in the order it is done. One of: `domains`, `suppressions`, `audiences`, `contacts`, `templates`, `broadcasts`, `webhooks`, `api_keys`, `topics`, `contact_properties`, `automations`, `events`.
- `step` (string | null): What is being read right now, or `null`. One of: `domains`, `suppressions`, `audiences`, `contacts`, `templates`, `broadcasts`, `webhooks`, `api_keys`, `topics`, `contact_properties`, `automations`, `events`.
- `report` (object[]): One entry for each thing that was asked for, with what came over and what did not.
- `report[].resource` (string): What was read: `domains`, `suppressions`, `audiences`, `contacts`, `templates`, `broadcasts`, `webhooks` or `api_keys`. One of: `domains`, `suppressions`, `audiences`, `contacts`, `templates`, `broadcasts`, `webhooks`, `api_keys`, `topics`, `contact_properties`, `automations`, `events`.
- `report[].found` (integer): How many the other account has, as far as the import has read.
- `report[].created` (integer): How many were made here.
- `report[].reused` (integer): How many were here already, from an earlier import or under the same name.
- `report[].skipped` (integer): How many were left out. The notes say why.
- `report[].notes` (object[]): What was left out or changed on the way, each with its reason. The first 50 are kept.
- `report[].notes[].name` (string): What the note is about: a domain, a template, an address.
- `report[].notes[].reason` (string): What happened to it, and what to do about it when there is something.
- `error` (string | null): Why it failed, or what it is waiting on before it tries again. `null` otherwise.
- `createdAt` (string): When the import was started.
- `finishedAt` (string | null): When it ended, or `null` while it runs.

## Example

MCP:

```json
{
  "name": "imports_get",
  "arguments": {
    "id": "imp_01"
  }
}
```

Answer, under structuredContent:

```json
{
  "object": "import",
  "id": "imp_01",
  "source": "resend",
  "status": "completed",
  "resources": [
    "templates"
  ],
  "step": null,
  "report": [
    {
      "resource": "templates",
      "found": 2,
      "created": 2,
      "reused": 0,
      "skipped": 0,
      "notes": [
        {
          "name": "Password reset",
          "reason": "{{{user.link}}} has no equivalent here and was left as written."
        },
        {
          "name": "Password reset",
          "reason": "The alias password-reset was taken, so it got password-reset-resend. Sends that name the old alias reach the other template."
        }
      ]
    }
  ],
  "error": null,
  "createdAt": "2026-11-27T09:30:00.000Z",
  "finishedAt": "2026-11-27T09:30:00.000Z"
}
```
