Skip to content
gist.link ↗

createQuickNote

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

Create a quick note for the current user. Any authenticated user.

dashboard:mutation:createQuickNote

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 {
createQuickNote(body: String!): QuickNote!
}
Argument Type Required Description
body String! Yes —

QuickNote! — 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 CreateQuickNote($body: String!) { createQuickNote(body: $body) { uuid created_at updated_at } }",
"variables": {
"body": "example"
}
}
JSON