An API Key is a unique string of characters that serves as your credentials to identify and authenticate your access to the Mailjet API. Think of it as your username for interacting with the API. To access the Mailjet API, you will use your API Key alongside a Secret Key, which functions much like a password.
Key Details About Your API and Secret Keys
API Key Visibility
Your API Key is always accessible in the Mailjet app. You can view and manage it at any time through the API Key Management page.
Secret Key Visibility
- Your Secret Key is displayed only once upon creation to ensure maximum security.
- Save your Secret Key in a secure location for future use.
Resetting the Secret Key
- You can reset your API Secret Key through the API Key Management page. Click the gear icon next to the API Key and select Reset Secret Key.
- As a best practice, reset your Secret Key every 90 days to maintain optimal account security.
SMTP Integration
Your API Key and Secret Key are required to configure SMTP parameters for sending emails directly from your email client or program.
Security Best Practices
Protecting your API Key and Secret Key is essential to prevent unauthorized access to your Mailjet API/SMTP connections and ensure the security of your account. If you suspect your credentials have been compromised, reset your Secret Key immediately. Keep in mind that resetting your Secret Key requires updating authentication for all active API connections.
Additional Functionality with API Keys
API Keys enable the creation of subaccounts within your Mailjet account. A subaccount is an account nested under your primary Mailjet account, identified by a different API Key.
Benefits of Subaccounts
- Separate Mailings: Easily separate email campaigns across different API Keys.
- Simplified Sharing and Reporting: Streamline account sharing and reporting by assigning subaccounts.
How to Create Additional Subaccounts
Navigate to the API Key Management page and click Create Subaccount.
If your plan allows for more than one subaccount, you may need to contact support to request additional subaccounts.
For more details, refer to our Subaccounts FAQ.
Summary
Your API Key and Secret Key are fundamental for accessing and securing your Mailjet API connection. By following best practices for key management and utilizing subaccounts where needed, you can optimize your account's functionality while ensuring robust security.