403 'You can only send testing emails to your own email address' (Resend)
Shows how to fix 403 'You can only send testing emails to your own email address' (Resend). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Fix: go to the Domains page in the dashboard and click Add Domain. Copy the DNS records Resend shows and add them at your DNS provider.
Steps
- Symptom: POST to the emails endpoint returns 403 with the message "You can only send testing emails to your own email address" and points you to resend.com/domains.
- Confirm the cause: check the from address in your request. If it ends in the resend.dev test domain and any to/cc/bcc recipient is not your Resend account email, this restriction is the cause. It is not an API key problem.
- Understand the rule: the resend.dev domain exists for testing only. It can only send to the email address on your Resend account, which protects the shared domain reputation.
- Fix: go to the Domains page in the dashboard and click Add Domain. Enter a domain you own.
- Copy the DNS records Resend shows and add them at your DNS provider. Wait for the domain to verify (usually within 15 minutes).
- Update every API call: change the from address from the resend.dev test address to an address on your verified domain. Do not leave any test calls pointing at resend.dev.
- Verify: send to a recipient that is not your own address and confirm you get a 200 with an email id instead of the 403.
When to use
You are seeing this: Symptom: POST to the emails endpoint returns 403 with the message "You can only send testing emails to your own email address" and points you to resend.com/domains. Use this skill when you run into "403 'You can only send testing emails to your own email address' (Resend)".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.