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

List SMTP credentials

GET/v1/smtp-credentials

List active SMTP credentials plus the plan limit and relay settings.

Requires a full-access key.

No has_more field on this list. limit = plan's max SMTP credentials (0 = unlimited).

Errors

restricted_api_keyHTTP 403
GET/v1/smtp-credentials
curl 'https://zapsmtp.xyz/v1/smtp-credentials' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "data": [
    {
      "id": "019a1f06-4d5e-7f60-8b7c-8d9e0f1a2b3c",
      "name": "WordPress",
      "username": "smtp_k3f9x2m7q1ab",
      "domain_id": null,
      "last_used_at": "2026-10-21T14:00:00Z",
      "created_at": "2026-10-20T09:30:00Z"
    }
  ],
  "limit": 10,
  "settings": {
    "host": "zapsmtp.xyz",
    "ports": {
      "465": "TLS",
      "587": "STARTTLS",
      "2525": "STARTTLS"
    },
    "mechanisms": [
      "PLAIN",
      "LOGIN"
    ]
  }
}