Runs examples for real against your account. Test keys only; kept in this tab, never stored on our side. Get a key
ZapSMTP / Docs / Inbound setup

List inbound domains

GET/v1/inbound/domains

List inbound domains (oldest first).

Requires a full-access key.

MX target host comes from config (ZAP_INBOUND_HOST, defaults to the API hostname); managed zone from ZAP_INBOUND_ZONE.

Errors

restricted_api_keyHTTP 403
GET/v1/inbound/domains
curl 'https://zapsmtp.xyz/v1/inbound/domains' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "019a1f20-4c5d-7e6f-8a9b-0c1d2e3f4a5b",
      "name": "k3f9x2m7q1.in.zapsmtp.xyz",
      "managed": true,
      "reject_spam": false,
      "mx_verified": true,
      "last_checked_at": "2026-10-20T10:00:00Z",
      "created_at": "2026-10-20T10:00:00Z",
      "records": [],
      "example_address": "anything@k3f9x2m7q1.in.zapsmtp.xyz"
    },
    {
      "id": "019a1f21-5d6e-7f80-9a1b-2c3d4e5f6a7b",
      "name": "reply.acme.com",
      "managed": false,
      "reject_spam": true,
      "mx_verified": false,
      "last_checked_at": null,
      "created_at": "2026-10-20T11:30:00Z",
      "records": [
        {
          "record": "MX",
          "type": "MX",
          "name": "reply.acme.com",
          "value": "10 zapsmtp.xyz",
          "required": true,
          "status": "pending"
        }
      ],
      "example_address": "anything@reply.acme.com"
    }
  ]
}