Skip to content
Maua.Culturewire

Ghost

Posts, pages, tags and members of your Ghost blog

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

    • API URL (https://…)RequiredHTTPS URL
    • Admin API key (id:secret)SecretRequired

    Where to find them

    1. In Ghost Admin: “Settings” → “Advanced” → “Integrations” → “Add custom integration”.
    2. Give it a name (e.g. Maua.Culturewire) and click “Add”.
    3. Copy the “Admin API key” and the “API URL”. The integration can read and write posts, pages, tags, members, newsletters and offers, and can only read users. To act with the permissions of a specific person, use their “Staff access token” (in their profile, same id:secret format).

Tools (2)

  • Ghost API requestGHOST_SEND_REQUEST

    Authenticated call to the Ghost API ({url}/ghost/api/admin). Any endpoint of the API is allowed. Paths end in “/”. Examples: GET /posts/?limit=10&order=updated_at desc&filter=status:draft&include=tags,authors, GET /posts/{id}/?formats=html, POST /posts/?source=html {"posts": [{"title": "…", "html": "<p>…</p>", "status": "draft"}]}, PUT /posts/{id}/ {"posts": [{"title": "…", "updated_at": "<current value>"}]} (updated_at is required), GET /pages/, GET /tags/?limit=all, GET /members/?limit=50&filter=status:paid, POST /members/ {"members": [{"email": "…", "name": "…"}]}, GET /newsletters/, GET /tiers/, GET /site/.

    Required scopes

    No scopes required

    Input

    Ghost 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.
  • Recent postsGHOST_LIST_POSTS

    Blog posts ordered by last modification, in compact format: title, status, publication and modification dates, URL, visibility, authors and tags.

    Required scopes

    No scopes required

    Input

    Recent posts input
    NameTypeDescription
    statusstringOne of: all, published, drafts, scheduledDefault: "all"
    maxintegerDefault: 15