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 routes

GET/v1/inbound/routes

List inbound routes in evaluation order (priority ascending, then created_at).

Requires a full-access key.

Errors

restricted_api_keyHTTP 403
GET/v1/inbound/routes
curl 'https://zapsmtp.xyz/v1/inbound/routes' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "019a1f31-0b2c-7d3e-8f4a-5b6c7d8e9f01",
      "name": "Support tickets",
      "priority": 10,
      "match_recipient": "support+*@acme.com",
      "match_sender": "",
      "match_header": "",
      "match_header_value": "",
      "action": "webhook",
      "webhook_id": "019a1f22-6e7f-7091-8a2b-3c4d5e6f7a8b",
      "enabled": true,
      "created_at": "2026-10-20T12:00:00Z"
    }
  ]
}