Ghost
Posts, pages, tags and members of your Ghost blog
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
- In Ghost Admin: “Settings” → “Advanced” → “Integrations” → “Add custom integration”.
- Give it a name (e.g. Maua.Culturewire) and click “Add”.
- 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 request
GHOST_SEND_REQUESTAuthenticated 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 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. Recent posts
GHOST_LIST_POSTSBlog 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 Name Type Description statusstringOne of: all,published,drafts,scheduledDefault:"all"maxintegerDefault: 15

