---
title: "Allow an email sender"
method: POST
path: "/email/allowed_senders"
tags: ["Allowed Senders"]
---

# Allow an email sender

`POST /email/allowed_senders`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/email/allowed_senders`
- Auth: API key in header `Authorization`

Lets an address email the agent's inbox. Who may reach the agent is an access change, so an agent's call always asks the user first. It applies from that sender's next email; anything they sent before stays unanswered. Allowing an address that is already allowed returns it unchanged with 200.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `email` string, email, required: The sender's email address, e.g. partner@example.org.

## Response `200`

Already allowed

- AllowedEmailSender
  - `object` string, required
  - `id` string, required
  - `email` string, required
  - `created_at` string, date-time, required

## Other responses

- `201`: Sender allowed
- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-10-24** `2a302ee0aae3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/email/allowed_senders/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
