---
title: "Import a senders file into the send address's approved senders"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import a senders file into the send address's approved senders

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/data-files/email-send-senders/imports</code>
</div>
</div>

Adds every new sender to the list, as a new version, in one step. Invalid rows are not imported; the answer names them again. Refused with 409 `list_changed` when the list changed since the preview. Preview the file again. Only a signed-in person may call this, as for `PUT /v1/email-inbox/send`. An API key is refused with 401 `session_required`.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | What was saved. |
| `400` | The body was refused, or the file is no senders file (`invalid_data_file`, `invalid_json`). Nothing was saved. |
| `401` | No usable credential was sent (`invalid_credentials`), or an API key was used (`session_required`). |
| `409` | The list changed since the preview (`list_changed`). Nothing was saved. |
| `502` | The engine could not run, so nothing was read (`engine_unavailable`). |
| `503` | This deployment has no inbox domain, so no address can be kept (`email_inbox_not_configured`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/import-a-senders-file-into-the-send-address-s-approved-senders/index.mdx
