API Reference
Gomailify provides HTTP endpoints for sending emails and validating recipients.
Authentication
All API requests require authentication via the X-API-Key header:
X-API-Key: YOUR_API_KEY
Send Email
Send an RFC 2822 formatted email message.
POST https://beta.gomailify.com/submit/inbound
Content-Type: message/rfc822
X-API-Key: YOUR_API_KEY
X-Mail-From: sender@example.com
X-Mail-To: recipient@yourdomain.com
X-Trace-ID: unique-message-id
From: "Sender Name" <sender@example.com>
To: recipient@yourdomain.com
Subject: Test Email
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
This is the email body.
Required Headers
X-API-Key- Your API keyX-Mail-From- Envelope sender addressX-Mail-To- Envelope recipient addressX-Trace-ID- Unique identifier for tracking
Response Codes
200 OK- Email queued successfully400 Bad Request- Invalid email format or missing headers401 Unauthorized- Invalid API key404 Not Found- Recipient not found429 Too Many Requests- Rate limit exceeded
Validate Recipient
Check if a recipient address exists and is active.
GET https://beta.gomailify.com/validate-recipient/recipient@yourdomain.com?sender=sender@example.com
Authorization: Bearer YOUR_BEARER_TOKEN
Query Parameters
sender- Sender email address (for denylist checking)
Response Codes
200 OK- Recipient is valid and active404 Not Found- Recipient not found or blocked
info Rate limits apply to all API endpoints. Contact support for higher limits.
Professional email via Gmail you already have.
Try Gomailify Free for 14 days.
Keep using the Gmail you love now also with your very own domain. No more mailboxes hopping and no forwarding issues.
Sign in with GoogleUpgrade for just $12/year for up to two mailboxes,
then $6/year per each additional mailbox.