---
title: "Create sending identity"
method: POST
path: "/email/sending-identities"
tags: ["email"]
---

# Create sending identity

`POST /email/sending-identities`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/email/sending-identities`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create a durable Dench email sending identity record.

## Request body

- object
  - `type` 'domain' | 'email', required: Identity scope. `domain` verifies via DNS (DKIM); `email` verifies a single mailbox via a confirmation email.
  - `domain` string: Lowercase domain; required when type is `domain`.
  - `fromEmail` string, required: Sender mailbox, e.g. founder@example.com.
  - `fromName` string: Default display name for the sender.
  - `replyToEmail` string
  - `configurationSetName` string

## Response `200`

Successful response

- object
  - `identityId` string, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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