Skip to content
Maua.Culturewire

Hashnode

Developer blog: publications, posts and comments

E-commerceCatalog2 tools · 0 triggers

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 access tokenSecretRequired

    Where to find them

    1. Sign in to Hashnode and open “Settings” → “Developer” (hashnode.com/settings/developer).
    2. Click “Generate New Token” and copy the personal token.
    3. Since May 13, 2026 the Hashnode API requires the Pro plan on the publication: without it requests are redirected to a notice instead of returning data.

    Get credentials (opens in a new tab)

Tools (2)

  • Hashnode API requestHASHNODE_SEND_REQUEST

    Authenticated call to the Hashnode API (https://gql.hashnode.com). Any endpoint of the API is allowed. The API is GraphQL (POST /): use HASHNODE_SEND_GRAPHQL_REQUEST, e.g. { me { username publications(first: 5) { edges { node { id title url } } } } } or { publication(host: "blog.example.com") { posts(first: 10) { edges { node { title url publishedAt } } } } }.

    Required scopes

    No scopes required

    Input

    Hashnode API request input
    NameTypeDescription
    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.
  • Hashnode GraphQL requestHASHNODE_SEND_GRAPHQL_REQUEST

    Runs a GraphQL query or mutation against the Hashnode API and returns its data and errors.

    Required scopes

    No scopes required

    Input

    Hashnode GraphQL request input
    NameTypeDescription
    queryrequiredstringGraphQL query or mutation
    variablesobjectGraphQL variables