# Create an email signature

```http
POST https://trydimmi.com/api/v1/email-signatures
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:write`.

## Body

- `body` (string, required): Markdown with bold, italic, links and line breaks, at most 2000 characters. Placeholders: {{member_name}}, {{member_title}}, {{address_name}}, {{company_name}}.
- `email_address_id` (string): Id of the address (ema_...); required for an address signature.
- `enabled` (boolean): Whether replies use it; defaults to true.
- `kind` (string): personal (default) or address. One of: `personal`, `address`.
- `member_id` (string): Id of the teammate (mem_...) for another teammate's personal signature.

## Response 201 (Created)

- `data` (object, required)
  - `body` (string, required): The signature's text, in short Markdown with links and emphasis only, up to 2000 characters.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `email_address_id` (string | null, required): Id of the email address the signature is for, starting with ema_. Null for one used from every address.
  - `enabled` (boolean, required): True when the signature is added to replies.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `kind` (string, required): Whose signature it is: personal for a teammate's own, address for the team's on an address.
  - `member_id` (string | null, required): Id of the teammate who owns a personal signature, starting with mem_. Null for the team's signature.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/email-signatures' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "body": "<string>",
  "email_address_id": "<string>",
  "enabled": true,
  "kind": "personal",
  "member_id": "<string>"
}'
```

## Example response

```json
{
  "data": {
    "body": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "email_address_id": "<string>",
    "enabled": true,
    "id": "<string>",
    "kind": "<string>",
    "member_id": "<string>",
    "object": "<string>",
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
