# Transactional email API documentation

> Cresca transactional email API documentation: send password resets, receipts, verification codes and alerts from your own verified domain with a REST API.

Canonical: https://www.cresca.xyz/docs
Last updated: 2026-11-05

Transactional email API documentation: send password resets, receipts, verification codes and alerts from your own verified domain with one REST API.

Cresca sends your marketing campaigns and your app's transactional email from the same account. The API lets your servers send one-to-one email, such as a password reset or an order receipt, the moment something happens in your product.

- **Your own domain.** Email goes out from a sender on a domain you verified in Cresca, with SPF and DKIM in place.
- **Delivery you can see.** Every email has a status (such as sent, delivered, bounced or complained) that the API returns as `last_event`, and the dashboard shows its full event timeline.
- **Safe retries.** Send an `Idempotency-Key` and a retried request never sends a second copy.
- **Templates.** Design an email once in Cresca, publish it, and send it by alias with your own variables.
- **Familiar shape.** Field names and responses follow the conventions used by popular email APIs such as Resend, so moving an existing integration is mostly a change of base URL and key.

## Base URL

All API requests go to `https://api.cresca.xyz/api/v1` over HTTPS. Requests and responses use JSON.

## Send your first email

Request

```bash
curl -X POST 'https://api.cresca.xyz/api/v1/emails' \
  -H 'Authorization: Bearer cr_live_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "from": "Acme <hello@acme.com>",
  "to": "user@example.com",
  "subject": "Reset your password",
  "html": "<p>Click <a href=\"https://acme.com/reset?token=abc\">here</a> to reset your password.</p>"
}'
```

The response contains the email's id, which you can use to [check its status](https://www.cresca.xyz/docs/api-reference/retrieve-email). Follow the [quickstart](https://www.cresca.xyz/docs/quickstart) to set up a domain, a sender and an API key first.

The API is for **transactional** email: messages a person expects because of something they did. For newsletters and promotions, use [campaigns](https://app.cresca.xyz/campaigns) in the Cresca app, which add the unsubscribe link and sender address that marketing email legally requires.

## What's in the transactional email API documentation

Guides

- [Templates and variables](https://www.cresca.xyz/docs/templates)
- [Idempotency](https://www.cresca.xyz/docs/idempotency)
- [Email lifecycle](https://www.cresca.xyz/docs/email-lifecycle)
- [Suppression](https://www.cresca.xyz/docs/suppression)
- [Rate limits and quotas](https://www.cresca.xyz/docs/rate-limits)
- [Errors](https://www.cresca.xyz/docs/errors)

Emails API

- [Send email](https://www.cresca.xyz/docs/api-reference/send-email)
- [Send batch emails](https://www.cresca.xyz/docs/api-reference/send-batch)
- [Retrieve email](https://www.cresca.xyz/docs/api-reference/retrieve-email)
- [List emails](https://www.cresca.xyz/docs/api-reference/list-emails)
- [Update email](https://www.cresca.xyz/docs/api-reference/update-email)
- [Cancel email](https://www.cresca.xyz/docs/api-reference/cancel-email)

Templates API

- [Create template](https://www.cresca.xyz/docs/api-reference/create-template)
- [Retrieve template](https://www.cresca.xyz/docs/api-reference/retrieve-template)
- [List templates](https://www.cresca.xyz/docs/api-reference/list-templates)
- [Update template](https://www.cresca.xyz/docs/api-reference/update-template)
- [Publish template](https://www.cresca.xyz/docs/api-reference/publish-template)
- [Delete template](https://www.cresca.xyz/docs/api-reference/delete-template)

Contacts API

- [Add contacts](https://www.cresca.xyz/docs/api-reference/add-contacts)

For a longer walkthrough with cURL, Node.js and Python examples, read the [transactional email API guide](https://www.cresca.xyz/blog/transactional-email-api).

[Next Quickstart](https://www.cresca.xyz/docs/quickstart)

Last updated November 5, 2026. Questions? [lalit@cresca.xyz](mailto:lalit@cresca.xyz)
