GitHub Gist
Code snippets and notes: create, read and edit gists
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Personal token (gist scope)SecretRequired
Where to find them
- Open the link below (or “Settings” → “Developer settings” → “Personal access tokens” → “Tokens (classic)” → “Generate new token (classic)”).
- Check that the “gist” permission is selected, choose an expiration and click “Generate token”.
- Copy the token (ghp_…): it is shown only once.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with GitHub Gist, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- In GitHub open “Settings” → “Developer settings” → “OAuth Apps” → “New OAuth App” (or the same path in the organization settings).
- Name it “Maua.Culturewire”, set “Homepage URL” to https://www.example.com and “Authorization callback URL” to the redirect URI shown below; click “Register application”.
- Copy the “Client ID”, click “Generate a new client secret” and copy the secret. If the organization restricts OAuth apps, an owner will have to approve it.
Default scopes
gistread:user
Tools (1)
GitHub Gist API request
GIST_SEND_REQUESTAuthenticated call to the GitHub Gist API (https://api.github.com). Any endpoint of the API is allowed. Examples: GET /gists?per_page=20 (your gists), GET /gists/{id}, GET /gists/public, POST /gists {"description": "…", "public": false, "files": {"note.md": {"content": "…"}}}, PATCH /gists/{id}, DELETE /gists/{id}.
Required scopes
No scopes required
Input
GitHub Gist API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

