API keys
API keys are used to authenticate your requests to the Emailit API, or to send emails using SMTP.
Each API key has its own scope, which means you can create multiple API keys with different scopes.
The scope of an API key can be:
full- for full access to the API.sending- for sending emails using SMTP or API.
The sending scope can also be limited to a specific sending domain.
Creating an API key
To create an API key in Emailit you can do it using the dashboard or the API.
Using the dashboard
- Go to the Emailit dashboard.
- Click on the API Keys tab.
- Click on the Add API Key button.
- Fill in the required information and click on the Create button.
Using the API
You can create an API key using the API by sending a POST request to the /api-keys endpoint.
POST Create an API key Create an API key in Emailit.