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

# Resend App

> Install the official Resend app to add your Dodo Payments customers to Resend contacts and keep their subscription status. The app sends no email.

## What the Resend app does

The Resend app adds a customer to your Resend contacts after a successful payment and when a subscription starts or renews. It can also write the subscription status to the contact. The app sends no email.

> [!NOTE]
>
> To send events to Resend through your webhook endpoint and your transformation code, use the [Resend webhook connector](https://docs.dodopayments.com/integrations/resend.md).

## Before you start

* You are an owner or an admin of the Dodo Payments business.
* You have a Resend account.
* You have a Resend API key with **Full access**. A key with **Sending access** cannot change contacts.

## Install, connect, and configure

**1. Install the app**

Open **Apps**, then **Explore**. Open **Resend** (publisher **Dodo Payments**) and select **Install app**.

**2. Connect Resend**

In Resend, open **API Keys** and make a key with **Full access**. Copy the key. It starts with `re_`. In Dodo Payments, select **Connect**, paste the key in the **API Key** field, then select **Connect**. Dodo Payments tests the key.

![The Connect Resend dialog with the empty API Key field](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/resend-3.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=c3e90b5ce8a67302b8f98fcd3a6f3cfe)

If the key has **Sending access** only, or if Resend suspended the key, the connection fails.

**3. Choose the sync options**

Open the **Configure** tab. Turn on the settings that you need and select the segment.

![The Configure tab of the Resend app with the contact and subscription status switches, the Segment list, and the Products list](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/resend-1.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=fd81fae303ab826896cdecb06f5c08bc)

**4. Set the filters and save**

Scroll down. Select the currencies if you need them. Then select **Save**.

![The Configure tab of the Resend app scrolled down to the Currencies filter](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/resend-2.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=832b4bc218e8bcfc23f536fea8a26dbf)

## Settings

| Setting | What it does | Default |
| - | - | - |
| Add customers as contacts | Creates or updates a Resend contact for each successful payment and for each new or renewed subscription. A new contact is subscribed. The app never subscribes a contact again after the contact unsubscribes. | On |
| Write the subscription status | Writes the status of each subscription change, for example active or cancelled, to the contact property `dodo_subscription_status`. A status change does not create a contact. | On |
| Segment | Adds each new and each existing contact to this Resend segment. A contact must be in a segment to get a broadcast. | No segment |
| Products | Sync only the customers of these products. | All products |
| Currencies | Sync only the customers who pay in these currencies. | All currencies |

## What is sent and when

Dodo Payments updates Resend after a successful payment, after a new or renewed subscription, and after a subscription status change. The app sends the email address, the first name, and the last name of the customer. It also sends the subscription status and the time. The app sends no card data and no address.

The app writes the time of each status change to the contact property `dodo_status_updated_at`. It ignores a change that is older. The app creates the two properties in Resend if they do not exist. The app changes only a contact that exists, or that **Add customers as contacts** creates.

## Test the app

**1. Use test mode**

Install and connect the app in test mode. Turn on **Add customers as contacts**.

**2. Make a test payment**

Create a test payment.

**3. Check Resend**

Open **Audience** in Resend. The customer appears as a contact.

## Troubleshooting

| Problem | What to do |
| - | - |
| The connection fails | Make sure that the key has **Full access**. Make a new key if necessary. |
| **Connection needs attention** | Resend refused the key (key has **Sending access** only, or the key is suspended or not active). Select **Reconnect** and enter a new key. |
| A contact is not in a segment | Select a **Segment** on the **Configure** tab. Leave it empty to add contacts to no segment. |
| A name that you changed in Resend changes back | The app updates the name of an existing contact at each payment. The name in Dodo Payments replaces it. |
| Only some products must go to Resend | The app adds all contacts to the one segment that you select. Use the **Products** filter to sync only some products. |
| The subscription status is in the wrong order | Resend has no conditional update. Two status events of one contact at the same time can write in the wrong order. |
| A status change does not make a contact | Turn on **Add customers as contacts**. A status change updates only a contact that exists. |

## Disconnect and uninstall

Turn off the settings on the **Configure** tab to stop the sync. Uninstall the app to delete the Resend connection. The contacts stay in Resend. See [Manage and uninstall](https://docs.dodopayments.com/features/app-marketplace/manage-and-uninstall.md).

![The Installed tab of the Apps page with Resend in the list and the status Active](https://mintcdn.com/dodopayments/9p5nlYkB8XwTy1ds/images/app-marketplace/merchant/apps/resend-4.png?fit=max\&auto=format\&n=9p5nlYkB8XwTy1ds\&q=85\&s=90ce7bd1c066170a8e1705c68499a52b)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.