A 403 error can occur when there’s a mismatch between the domain you’re using in your API request and the domain you’ve verified in Resend.Documentation Index
Fetch the complete documentation index at: https://resend.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The Problem
You’ve verified a domain (or subdomain) in Resend, but your API request is using a different domain. Example scenario:- You verified
sending.domain.comin Resend - Your API request is using
domain.com(i.e., without thesendingsubdomain)
How to Identify This Issue
- Check which domain you’ve verified in your Resend Domains page.
- Compare it with the domain you’re using in your API request’s
fromfield.
Solution
You have two options to resolve this: Option 1: Update your API request (Recommended) Update your API call to use the verified domain. For example, if you verifiedsending.domain.com, make sure your from field uses that exact domain:
- Delete the domain you’ve added in Resend
- Add and verify the domain that matches what you’re using in your API request
Still Having Issues?
If you’ve verified that your domain matches and you’re still getting a 403 error:- Verify that your domain is fully verified in the Resend Domains page.
- Double-check that the domain in your API request’s
fromfield exactly matches your verified domain - Ensure your API key has the necessary permissions.
- Contact Resend support with details about your error