Skip to content
gist.link ↗

catchAlls

Query Mail API — POST https://mail.api.gist.link/graphql

Catch-all routes for the organization’s domains. ROLE_ADMIN.

mail:query:catchAlls

The calling IAM key must hold this permission (or a wildcard that covers it: mail:query:* or mail:*) and the access token must have been minted with audience=mail. See Permissions.

type Query {
catchAlls: [CatchAll!]!
}

This query takes no arguments.

[CatchAll!]! — see the Mail types reference.

Terminal window
curl https://mail.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query CatchAlls { catchAlls { uuid domain mailbox_uuid created_at } }",
"variables": {}
}
JSON