Skip to main content
New to Corsair? See API access, authentication, and error handling.

Content

authors.get

content.authors.get Read a published author by id. Content API. Uses the Content API key. Risk: read
Input Output

authors.getBySlug

content.authors.getBySlug Read a published author by slug. Content API. Uses the Content API key. Risk: read
Input Output

authors.list

content.authors.list Browse published authors. Content API: public content only. Uses the Content API key. Risk: read
Input Output

pages.get

content.pages.get Read a published page by id. Content API. Uses the Content API key. Risk: read
Input Output

pages.getBySlug

content.pages.getBySlug Read a published page by slug. Content API. Uses the Content API key. Risk: read
Input Output

pages.list

content.pages.list Browse published pages. Content API: public content only. Uses the Content API key. Risk: read
Input Output

posts.get

content.posts.get Read a published post by id. Content API. Uses the Content API key. Risk: read
Input Output

posts.getBySlug

content.posts.getBySlug Read a published post by slug. Content API. Uses the Content API key. Risk: read
Input Output

posts.list

content.posts.list Browse published posts. Content API: public content only. Uses the Content API key. Risk: read
Input Output

settings.get

content.settings.get Read public settings. Content API: title, description, logo, navigation and the other public settings. Uses the Content API key. Risk: read
Input: empty object Output

tags.get

content.tags.get Read a published tag by id. Content API. Uses the Content API key. Risk: read
Input Output

tags.getBySlug

content.tags.getBySlug Read a published tag by slug. Content API. Uses the Content API key. Risk: read
Input Output

tags.list

content.tags.list Browse published tags. Content API: public content only. Uses the Content API key. Risk: read
Input Output

tiers.list

content.tiers.list Browse tiers. Content API: the public tiers and their prices. Uses the Content API key. Risk: read
Input Output

Files

upload

files.upload Upload a file. Any file for a file card. Returns its URL. Risk: write
Input
Output

Images

upload

images.upload Upload an image. Returns the image URL to use in posts. JPEG, PNG, GIF, SVG, WebP (icon: also ICO). Risk: write
Input
Output

Invites

create

invites.create Invite a staff user. Emails an invitation to join the site with the given role. Ghost emails the invitation; a site without mail set up answers 500 “Error sending email!”. Risk: destructive
Input Output

delete

invites.delete Revoke a staff invitation. Cannot be undone. Risk: destructive · Irreversible
Input Output

list

invites.list Browse pending staff invitations. Needs a staff access token: an integration key answers 403 (live 11-28). Risk: read
Input Output

Labels

create

labels.create Add a label. (POST /admin/labels/) Risk: write
Input Output

delete

labels.delete Delete a label. Cannot be undone. (DELETE /admin/labels/{id}/) Risk: destructive · Irreversible
Input Output

get

labels.get Read a label by id. (GET /admin/labels/{id}/) Risk: read
Input Output

getBySlug

labels.getBySlug Read a label by slug. (GET /admin/labels/slug/{slug}/) Risk: read
Input Output

list

labels.list Browse labels. Lists labels, 15 per page by default. Risk: read
Input Output

update

labels.update Edit a label. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input Output

Media

upload

media.upload Upload a video or audio file. MP4, WebM, OGG, MP3, WAV, M4A. Returns the file URL. Risk: write
Input
Output

Members

create

members.create Add a member. With send_email true, Ghost emails the member a sign-in link. Risk: destructive
Input
Output

customFields.create

members.customFields.create Add a member custom field. The key is made from the name and never changes. Risk: write
Input
Output

customFields.delete

members.customFields.delete Delete a member custom field. Deletes the field and every member’s value for it. Archive the field first (status archived): an active field answers 422. Cannot be undone. Risk: destructive · Irreversible
Input Output

customFields.get

members.customFields.get Read a member custom field. (GET /admin/members/metafields/custom/{key}/) Risk: read
Input Output

customFields.list

members.customFields.list Browse member custom fields. Active fields by default; filter status:archived or status:[active,archived]. Risk: read
Input Output

customFields.reorder

members.customFields.reorder Reorder member custom fields. Send every active field in the new order. Risk: write
Input
Output

customFields.update

members.customFields.update Edit a member custom field. Rename it, change its options or access, or archive it (status archived). Risk: write
Input
Output

delete

members.delete Delete a member. Cannot be undone. (DELETE /admin/members/{id}/) Risk: destructive · Irreversible
Input Output

get

members.get Read a member by id. (GET /admin/members/{id}/) Risk: read
Input Output

list

members.list Browse members. Lists members, the 15 newest by default. Use filter (status:paid, label:vip, email:…) and search. Risk: read
Input Output

update

members.update Edit a member. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input
Output

Newsletters

create

newsletters.create Add a newsletter. (POST /admin/newsletters/) Risk: write
Input Output

get

newsletters.get Read a newsletter by id. (GET /admin/newsletters/{id}/) Risk: read
Input Output

list

newsletters.list Browse newsletters. Lists newsletters, 15 per page by default. Risk: read
Input Output

update

newsletters.update Edit a newsletter. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input Output

Offers

create

offers.create Add a offer. (POST /admin/offers/) Risk: write
Input
Output

get

offers.get Read a offer by id. (GET /admin/offers/{id}/) Risk: read
Input Output

list

offers.list Browse offers. Lists offers, 15 per page by default. Risk: read
Input Output

update

offers.update Edit a offer. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input
Output

Pages

copy

pages.copy Copy a page. Makes a draft copy of the page. Risk: write
Input Output

create

pages.create Add a page. (POST /admin/pages/) Risk: write
Input
Output

delete

pages.delete Delete a page. Cannot be undone. (DELETE /admin/pages/{id}/) Risk: destructive · Irreversible
Input Output

get

pages.get Read a page by id. (GET /admin/pages/{id}/) Risk: read
Input Output

getBySlug

pages.getBySlug Read a page by slug. (GET /admin/pages/slug/{slug}/) Risk: read
Input Output

list

pages.list Browse pages. Lists pages, 15 per page by default. Risk: read
Input Output

update

pages.update Edit a page. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input
Output

Posts

copy

posts.copy Copy a post. Makes a draft copy of the post. Risk: write
Input Output

create

posts.create Add a post. Creating with status published puts the post on the live site; pass source=html to send html instead of lexical. Risk: destructive
Input
Output

delete

posts.delete Delete a post. Cannot be undone. (DELETE /admin/posts/{id}/) Risk: destructive · Irreversible
Input Output

get

posts.get Read a post by id. (GET /admin/posts/{id}/) Risk: read
Input Output

getBySlug

posts.getBySlug Read a post by slug. (GET /admin/posts/slug/{slug}/) Risk: read
Input Output

list

posts.list Browse posts. Lists posts, 15 per page by default. Risk: read
Input Output

update

posts.update Edit a post. Send updated_at as read: a stale value answers 409. Publishing with newsletter set emails the post to members. Send updated_at as last read (a stale value answers 409). Setting status published with the newsletter query value emails the post to members, which cannot be undone. Risk: destructive
Input
Output

Roles

list

roles.list Browse staff roles. Use permissions=assign to list only the roles this key may give. Risk: read
Input Output

Site

get

site.get Read site details. The site title, description, logo, icon, accent colour, URL and Ghost version. No authentication needed. Works without authentication. Risk: read
Input: empty object Output

Tags

create

tags.create Add a tag. (POST /admin/tags/) Risk: write
Input Output

delete

tags.delete Delete a tag. Cannot be undone. (DELETE /admin/tags/{id}/) Risk: destructive · Irreversible
Input Output

get

tags.get Read a tag by id. (GET /admin/tags/{id}/) Risk: read
Input Output

getBySlug

tags.getBySlug Read a tag by slug. (GET /admin/tags/slug/{slug}/) Risk: read
Input Output

list

tags.list Browse tags. Lists tags, 15 per page by default. Risk: read
Input Output

update

tags.update Edit a tag. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input Output

Themes

activate

themes.activate Activate a theme. Switches the live site to this theme. Switches the live site to this theme. Risk: destructive
Input Output

upload

themes.upload Upload a theme. A theme ZIP. A theme with the same name is replaced. Risk: destructive
Input
Output

Tiers

create

tiers.create Add a tier. (POST /admin/tiers/) Risk: write
Input Output

get

tiers.get Read a tier by id. (GET /admin/tiers/{id}/) Risk: read
Input Output

list

tiers.list Browse tiers. Lists tiers, 15 per page by default. Risk: read
Input Output

update

tiers.update Edit a tier. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently. Risk: write
Input Output

Users

delete

users.delete Delete a staff user. Their posts move to the owner. Needs a staff access token of an Administrator (an integration key answers 403). Needs a staff access token of an Administrator: an integration key answers 403. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

users.get Read a staff user by id. (GET /admin/users/{id}/) Risk: read
Input Output

getByEmail

users.getByEmail Read a staff user by email. (GET /admin/users/email/{email}/) Risk: read
Input Output

getBySlug

users.getBySlug Read a staff user by slug. (GET /admin/users/slug/{slug}/) Risk: read
Input Output

list

users.list Browse staff users. (GET /admin/users/) Risk: read
Input Output

update

users.update Edit a staff user. Needs a staff access token or a user session (an integration key answers 403). Needs a staff access token (an Administrator’s): an integration key answers 403. Risk: write
Input
Output

Webhooks

create

webhooks.create Add a webhook. Ghost POSTs the event to target_url, signed with the secret. Risk: write
Input Output

delete

webhooks.delete Delete a webhook. Cannot be undone. (DELETE /admin/webhooks/{id}/) Risk: destructive · Irreversible
Input Output

update

webhooks.update Edit a webhook. (PUT /admin/webhooks/{id}/) Risk: write
Input Output