Overview
This endpoint creates a new email address and automatically configures AWS SES receipt rules for email forwarding. You can route emails to either a webhook or an endpoint.This endpoint does not require domain verification before creating email addresses. However, AWS SES receipt rules will only be configured if the domain is properly set up.
Authentication
Bearer token for API authentication. Format:
Bearer YOUR_API_KEY
Request Body
The email address to create (e.g., “hello@example.com”). Must be a valid email format and use a domain you own.
The ID of the verified domain this email address belongs to.
ID of the endpoint to route emails to. Cannot be used together with
webhookId
.ID of the webhook to route emails to. Cannot be used together with
endpointId
.Whether the email address should be active and able to receive emails.
Response
Unique identifier for the newly created email address.
The email address that was created.
ID of the domain this email address belongs to.
ID of the webhook endpoint for routing emails (if using webhook routing).
ID of the endpoint for routing emails (if using endpoint routing).
Whether this email address is active and can receive emails.
Whether AWS SES receipt rule was successfully configured.
Name of the AWS SES receipt rule created for this email address.
ISO 8601 timestamp when the email address was created.
ISO 8601 timestamp when the email address was last updated.
ID of the user who owns this email address.
Domain information for this email address.
Email routing configuration.
Warning message if there were issues with AWS SES configuration.
Examples
Create Email Address with Endpoint
Create Email Address with Webhook
Response
Error Responses
Important Notes
Email addresses are automatically configured with AWS SES receipt rules upon creation when AWS is properly configured. This enables immediate email receiving capability.
The email address must belong to the specified domain. The API validates that the email domain matches the domain record.
Make sure your endpoint or webhook is active and properly configured before creating the email address to ensure emails are delivered successfully.
Email Routing Options
Endpoint Routing
Routes emails to a configured endpoint (webhook, email forwarding, etc.)- More flexible routing options
- Can include additional configuration
- Managed through the endpoints API
Webhook Routing
Routes emails directly to a webhook URL- Simple webhook-based routing
- Direct HTTP POST to specified URL
- Managed through the webhooks API
No Routing
Email addresses without routing will receive emails but won’t forward them anywhere- Useful for testing or temporary addresses
- Emails are stored but not forwarded
Related Endpoints
After creating an email address, you might want to:- Update routing: Use
PUT /api/v2/email-addresses/{id}
- Check status: Use
GET /api/v2/email-addresses/{id}
- List all addresses: Use
GET /api/v2/email-addresses
Notes
- Email addresses can be created for any domain owned by the user
- AWS SES receipt rules are automatically created and managed when AWS is configured
- Email addresses can be created with or without routing configuration
- The email address must belong to the specified domain (validated by domain matching)
- Only one routing method (endpoint or webhook) can be used per email address
- Domain verification is not required for email address creation, but proper AWS setup is needed for email receiving
Documentation Verified - This endpoint documentation has been verified against the actual API implementation (
POST /api/v2/email-addresses
) and is accurate as of the verification date.