How do I get my API key?
Create and manage your AgentMail API keys.
You need an API key to authenticate requests to the AgentMail API. API keys start with am_ and are created in the AgentMail Console.
Steps
- Go to the AgentMail Console
- Sign up or log in
- Navigate to the API Keys section in the left side of the dashboard
- Click Create New API Key
- Give it a descriptive name (e.g., “my-support-agent”)
- Copy the key immediately and store it securely
Your API key is only shown once when it is created. If you lose it, you will need to create a new one. Never commit API keys to version control or share them publicly.
Using your API key
Store your API key in an environment variable to keep it out of your source code:
Bash
Then initialize the SDK using the environment variable:
TypeScript
Free tier
No credit card required to get started. The free tier includes:
To create more inboxes or send higher volumes, see the pricing page.
