Keys / Resend

RESEND_API_KEY

The Resend API key your app sends email with.

Starts with
re_
Expires
never
API
create, list and delete, with a full-access key

Get it

Recorded 2026-11-16 on resend.com/api-keys

  1. Open API keys and click Create API key.
  2. Type a name for the key (50 characters at most).
  3. Open the Permission menu.
  4. Choose Sending access, unless the key needs full access to the API.
  5. Optionally restrict the key to one domain.
  6. Click Add, then copy the key. Resend shows it only once.

Set it

RESEND_API_KEY=re_...

The Node.js and Python SDKs read it from this variable when you don't pass a key. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. Create a new key with the same permission and domain.
  2. Deploy it everywhere that uses the old key. Both keys work in the meantime.
  3. Check the Logs page for requests with the new key, then delete the old one.
Sources, checked 2026-11-16