Skip to content

Quickstart ​

Send your first email with Mailiqo in a few minutes.

1. Create an API key ​

Go to your dashboard and generate a new API key.

You will use this key to authenticate all API requests.

bash
X-API-KEY: YOUR_API_KEY

2. Verify your domain ​

Before sending emails, you need to verify your domain.

Add the required DNS records (SPF and DKIM) in your DNS provider. These records will be provided to you in the dashboard when setting up your domain.

Example:

txt
Type: TXT
Name: @
Value: v=spf1 include:_spf.mmail.mailiqo.com ~all
txt
Type: CNAME
Name: ***abc123._domainkey
Value: ***abc123._domainkey.mmail.mailiqo.com

⚠️ You must complete this step before sending emails in production.

➡️ Full guide: /help/domain-dns

3. Send your first email ​

Make a request to the /send endpoint:

bash
curl -X POST https://api.mailiqo.com/v1/mailing/send \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": ["[email protected]"],
    "subject": "Hello from Mailiqo",
    "body_html": "<p>Hello world</p>"
  }'

Response ​

json
{
  "id": "snd_ecbc059748234c9c9cbbxxxxxxxxxxxx",
  "sent_to": [{"id": "msg_c82929b48c6e45f0b048xxxxxxxxxxxx", "email": "[email protected]"}],
  "rejected_recipients": []
}

This means your email request has been accepted and queued for processing.

4. Check the request status ​

You can check the status of your request:

bash
curl https://api.mailiqo.com/v1/mailing/email-request/{ID} \
  -H "X-API-KEY: YOUR_API_KEY"

Example response ​

json
{
  "email_request": {
    "id": "snd_ecbc059748234c9c9cbbxxxxxxxxxxxx",
    "status": "QUEUED",
    "total_recipients": 1,
    "domain": "yourdomain.com",
    "from_email": "[email protected]",
    "subject": "Hello from Mailiqo",
    "message_ids": [
      "msg_c82929b48c6e45f0b048xxxxxxxxxxxx"
    ],
    "total_attachments": 0,
    "recipients": {
      "to": [
        {
          "email": "[email protected]",
          "name": ""
        }
      ],
      "cc": [],
      "bcc": []
    },
    "created_at": {
      "date": "2026-03-20 10:29:05.000000",
      "timezone_type": 3,
      "timezone": "UTC"
    }
  }
}

5. Get the email details ​

Once processed, you can retrieve the final email object:

bash
curl https://api.mailiqo.com/v1/mailing/email-message/{ID} \
  -H "X-API-KEY: YOUR_API_KEY"

Example response ​

json
{
  "id": "msg_c82929b48c6e45f0b048xxxxxxxxxxxx",
  "send_id": "snd_ecbc059748234c9c9cbbxxxxxxxxxxxx",
  "recipient_email": "[email protected]",
  "recipient_type": "to",
  "status": "delivered",
  "created_at": "2026-01-01T10:29:06+00:00",
  "submitted_at": "2026-01-01T10:29:06+00:00",
  "opens_count": 1,
  "clicks_count": 0
}

Using SMTP instead ​

If you prefer SMTP, you can send emails without using the API.

txt
Host: smtpmq.mailiqo.com
Port: 587
Encryption: TLS
Username: YOUR_SMTP_USER
Password: YOUR_SMTP_PASSWORD

➡️ SMTP guide: /smtp/overview


Next steps ​

Built with VitePress