Skip to content

Public routes: Public help center

The help center’s public articles, for a web page with no signed-in user.

What it doesRoute
Search the public articlesGET /public/v1/help/articles
Read a public articleGET /public/v1/help/articles/{slug}
Say whether a public article helpedPOST /public/v1/help/articles/{slug}/rating
Fetch an article’s pictureGET /public/v1/help/assets/{asset_id}
List the public collectionsGET /public/v1/help/collections
Read a public collectionGET /public/v1/help/collections/{slug}

GET /public/v1/help/articles

Needs: the app key (X-CRM-App-Key, or ?app=). No sign-in.

Parameters

NameInDescription
appqueryThe app’s public key, for a request that cannot send the X-CRM-App-Key header.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.
limitqueryHow many to answer, at most.
qqueryWords to search for.

Answers

StatusBodyMeaning
200ArticlesOK
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /public/v1/help/articles/{slug}

Needs: the app key (X-CRM-App-Key, or ?app=). No sign-in.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.
appqueryThe app’s public key, for a request that cannot send the X-CRM-App-Key header.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200ArticleOK
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

POST /public/v1/help/articles/{slug}/rating

From a reader with no account: their own id for the page, kept apart from every user’s.

Needs: the app key (X-CRM-App-Key, or ?app=). No sign-in.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.
appqueryThe app’s public key, for a request that cannot send the X-CRM-App-Key header.

Body (application/json): PublicRatingBody

FieldTypeDescription
helpful (always)boolean
languagestringThe language the reader read it in (Article.Language), for the help report; left out, the app’s default.
visitor (always)string

Answers

StatusBodyMeaning
204noneDone, with nothing to say
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /public/v1/help/assets/{asset_id}

A redirect to the picture’s short-lived address.

Needs: nothing: no credential.

Parameters

NameInDescription
asset_id (required)pathThe picture’s id.

Answers

StatusBodyMeaning
302noneA redirect
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /public/v1/help/collections

Only articles marked public and meant for everyone. Name the app with the X-CRM-App-Key header, or with ?app= where a header cannot be sent.

Needs: the app key (X-CRM-App-Key, or ?app=). No sign-in.

Parameters

NameInDescription
appqueryThe app’s public key, for a request that cannot send the X-CRM-App-Key header.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200CollectionsOK
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /public/v1/help/collections/{slug}

Needs: the app key (X-CRM-App-Key, or ?app=). No sign-in.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.
appqueryThe app’s public key, for a request that cannot send the X-CRM-App-Key header.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200CollectionArticlesOK
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.