Introduction
Visualize all the API Keys on the Resend Dashboard.
What is an API Key
API Keys are secret tokens used to authenticate your requests. They are unique to your account and should be kept confidential.
Add API Key
You can create a new API Key from the API Key Dashboard.
- Click Create API Key.
- Give your API Key a name.
- Select Full access or Sending access as the permission.
- If you select Sending access, you can choose the domain you want to restrict access to.
Set API Key permissions
There are two different permissions of API Keys:
- Full access: grants access to create, delete, get, and update any resource.
- Sending access: grants access only to send emails.
With API Key permissions, you can isolate different application actions to different API Keys. Using multiple keys, you can view logs per key, detect possible abuse, and control the damage that may be done accidentally or maliciously.
View all API Keys
The API Dashboard shows you all the API Keys you have created along with their details, including the last time you used an API Key.
Different color indicators let you quickly scan and detect which API Keys are being used and which are not.
Edit API Key details
After creating an API Key, you can edit the following details:
- Name
- Permission
- Domain
To edit an API Key, click the More options
button and then Edit API Key.Delete inactive API Keys
If an API Key hasn’t been used in the last 30 days, consider deleting it to keep your account secure.
You can delete an API Key by clicking the More options
button and then Remove API Key.View API Key logs
When visualizing an active API Key, you can see the total number of requests made to the key. For more detailed logging information, select the underlined number of requests to view all logs for that API Key.
Was this page helpful?