Skip to content
gist.link ↗

connections

Query Marketing API — POST https://marketing.api.gist.link/graphql

This organization’s platform connections. Any authenticated org member.

marketing:query:connections

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

type Query {
connections: [PlatformConnection!]!
}

This query takes no arguments.

[PlatformConnection!]! — see the Marketing types reference.

Terminal window
curl https://marketing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Connections { connections { id platform ownerUserId scopes status expiresAt createdAt updatedAt } }",
"variables": {}
}
JSON