Skip to content
gist.link ↗

signatures

Query Campaigns API — POST https://campaigns.api.gist.link/graphql

All email signatures for the current organization. Any org member.

campaigns:query:signatures

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

type Query {
signatures(filter: SignatureFilter, sort: SortInput): [Signature!]!
}
Argument Type Required Description
filter SignatureFilter No —
sort SortInput No —

[Signature!]! — see the Campaigns types reference.

Terminal window
curl https://campaigns.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Signatures($filter: SignatureFilter, $sort: SortInput) { signatures(filter: $filter, sort: $sort) { id name created_at updated_at } }",
"variables": {
"filter": {
"search": "example"
},
"sort": {
"field": "example",
"direction": "ASC"
}
}
}
JSON