Skip to content
gist.link ↗

forwarders

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

Auto-forwarders of one of the caller’s mailboxes.

mail:query:forwarders

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 {
forwarders(mailbox_uuid: String!): [Forwarder!]!
}
Argument Type Required Description
mailbox_uuid String! Yes —

[Forwarder!]! — 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 Forwarders($mailbox_uuid: String!) { forwarders(mailbox_uuid: $mailbox_uuid) { uuid mailbox_uuid destination keep_mode active verified automation_workflow_uuid created_at } }",
"variables": {
"mailbox_uuid": "example"
}
}
JSON