Skip to content
gist.link ↗

publishNotification

Mutation Dashboard API — POST https://dashboard.api.gist.link/graphql

Publish a notification to a user in the caller’s organization. ROLE_SERVICE (suite apps) or ROLE_ADMIN.

dashboard:mutation:publishNotification

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

type Mutation {
publishNotification(input: PublishNotificationInput!): Notification!
}
Argument Type Required Description
input PublishNotificationInput! Yes —

Notification! — see the Dashboard types reference.

Terminal window
curl https://dashboard.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation PublishNotification($input: PublishNotificationInput!) { publishNotification(input: $input) { uuid title created_at } }",
"variables": {
"input": {
"user_id": "example",
"title": "Example"
}
}
}
JSON