Publications

Publications

Operations related to publications, including publishing and exporting.

Get all projects and publications

Returns information on all projects and publications available to the user making the request.

Responses
GET/projects
curl https://your-portal.clickhelp.co/api/v1/projects \
  --header 'Authorization: Basic username:password'
[
  {
    "id": "…",
    "title": "…",
    "createdOn": "2026-01-23T22:10:04.180Z",
    "visibility": "Private",
    "parentId": "…",
    "fullUrl": "https://example.com",
    "url": "…",
    "parentUrl": "…"
  }
]

Get a project or publication by ID

Returns information about a single project or publication. The parentId field will be null for projects and will contain the project ID for publications.

Path Parameters
  • publicationId
    string
    required

    The ID of the project or publication.

Responses
GET/projects/{publicationId}
curl https://your-portal.clickhelp.co/api/v1/projects/ \
  --header 'Authorization: Basic username:password'
{
  "id": "…",
  "title": "…",
  "createdOn": "2026-01-23T22:10:04.180Z",
  "visibility": "Private",
  "parentId": "…",
  "fullUrl": "https://example.com",
  "url": "…",
  "parentUrl": "…"
}

Update a publication

Updates a publication's properties, like its visibility, title, URL, etc. The updatedFields parameter specifies which fields to update.

Path Parameters
  • publicationId
    string
    required

    The ID of the project or publication.

Body
application/json

The properties to update.

The properties to update for a publication.

updatedFields
string
required

A comma-separated list of fields that will be updated.

Exampletitle,visibility
title
string

The new publication title.

url
string

The new publication URL part.

visibility
string enum

The new visibility value.

  • Private
  • Restricted
  • Public
defaultTopicId
string

The new default topic ID.

homePageContent
string

The new content of the Home page view.

header
string

The new content of the header.

footer
string

The new content of the footer.

noFrame
boolean

Whether to use the "No Frame" master page.

isCommentsEnabled
boolean

Whether to enable comments for the entire publication.

skinId
string

The ID of the new branding settings (skin) to apply.

isUseAbsoluteFileUrls
boolean

Whether to use absolute URLs for files in this publication.

accessGroups
array string[]

An array of strings containing the names of the Power Reader Access Groups that will have access to the publication. For the Restricted visibility only.

Responses
PATCH/projects/{publicationId}
curl https://your-portal.clickhelp.co/api/v1/projects/ \
  --request PATCH \
  --header 'Authorization: Basic username:password' \
  --header 'Content-Type: application/json' \
  --data '{
  "updatedFields": "title,visibility",
  "title": "",
  "url": "",
  "visibility": "Private",
  "defaultTopicId": "",
  "homePageContent": "",
  "header": "",
  "footer": "",
  "noFrame": true,
  "isCommentsEnabled": true,
  "skinId": "",
  "isUseAbsoluteFileUrls": true,
  "accessGroups": [
    ""
  ]
}'
{
  "id": "…",
  "title": "…",
  "createdOn": "2026-01-23T22:10:04.180Z",
  "visibility": "Private",
  "parentId": "…",
  "fullUrl": "https://example.com",
  "url": "…",
  "parentUrl": "…"
}

Create a project backup or export a publication

Performs an action on a project or publication, like creating a backup or exporting. The exact behavior is determined by the 'action' query parameter.

Path Parameters
  • publicationId
    string
    required

    The ID of the project or publication.

Query Parameters
  • action
    string enum
    required

    The action to perform.

    • download
    • export
    • publish
    • import
Body
application/json

The request body, dependent on the action.

oneOf

The properties for an export request.

Schema for creating a new publication.

The properties to update for a publication.

Defines the source for an API spec import to an existing project.

Responses
POST/projects/{publicationId}
curl https://your-portal.clickhelp.co/api/v1/projects/ \
  --request POST \
  --header 'Authorization: Basic username:password' \
  --header 'Content-Type: application/json' \
  --data '{
  "outputFileName": ""
}'
{
  "taskKey": "…"
}