All API requests must include an API key in the headers:
Authorization: Bearer YOUR_API_KEY
To get an API key, contact us.
Endpoint: POST /api/send
Description: Send an email using the Bulk Email Sender API.
POST /api/send Headers: Authorization: Bearer YOUR_API_KEY Content-Type: application/json Body: { "to": "recipient@example.com", "subject": "Hello from Bulk Email Sender", "message": "This is a test email!", "from": "your-email@example.com" }
Response:
{ "status": "success", "message": "Email sent successfully" }
Endpoint: GET /api/status/:emailID
Description: Check the status of a sent email.
GET /api/status/12345 Headers: Authorization: Bearer YOUR_API_KEY
Response:
{ "emailID": "12345", "status": "Delivered" }
Endpoint: POST /api/mailing-list
Description: Add or remove emails from a mailing list.
POST /api/mailing-list Headers: Authorization: Bearer YOUR_API_KEY Content-Type: application/json Body: { "action": "add", "email": "subscriber@example.com", "listName": "newsletter" }
Response:
{ "status": "success", "message": "Email added to mailing list" }
To request an API key, visit our Contact Page and submit your request.
We will review and send you an API key via email.