API Reference
API Reference Introduction
Your Self-Hosted Email Service APIs
Self-hosted email service APIs allow you to send transactional emails, manage domains, and handle audience and contacts programmatically.
Getting Started
To start using the self-hosted email service APIs:
- Login to your self-hosted email service account at your domain. For example, if your domain is
example.com
, you can login atauth.example.com
. - Create an API key from the dashboard
- Use your API key in the Authorization header for all requests:
Base URL
All API endpoints are prefixed with api.
subdomain:
API Versioning
The current version of the API is v1
. All endpoints are prefixed with /v1/
:
Error Handling
The API uses standard HTTP status codes and returns error messages in a consistent format:
Common status codes:
200
: Success201
: Created204
: No Content400
: Bad Request403
: Forbidden404
: Not Found429
: Too Many Requests
Support
Need help? We’re here for you:
- Email: support@selfmailkit.com
- Documentation: selfmailkit.com/docs
- Help: selfmailkit.com/help