Skip to content

Guest API: Help center

Your articles and collections, read and searched by a signed-in user.

What it doesRoute
Search the help centerGET /guest/v1/articles
Read an articleGET /guest/v1/articles/{slug}
Say whether an article helpedPOST /guest/v1/articles/{slug}/rating
List the help center’s collectionsGET /guest/v1/collections
Read a collectionGET /guest/v1/collections/{slug}

GET /guest/v1/articles

Articles whose words match q, best first; with no q, the most read.

Needs: the app key (X-CRM-App-Key) and the signed-in user’s token (Authorization: Bearer …), or their id for an app with unverified sign-in. See From a website or web app.

Parameters

NameInDescription
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
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /guest/v1/articles/{slug}

Needs: the app key (X-CRM-App-Key) and the signed-in user’s token (Authorization: Bearer …), or their id for an app with unverified sign-in. See From a website or web app.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200ArticleOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

POST /guest/v1/articles/{slug}/rating

Needs: the app key (X-CRM-App-Key) and the signed-in user’s token (Authorization: Bearer …), or their id for an app with unverified sign-in. See From a website or web app.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.

Body (application/json): ArticleRatingBody

FieldTypeDescription
helpful (always)boolean

Answers

StatusBodyMeaning
204noneDone, with nothing to say
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /guest/v1/collections

Needs: the app key (X-CRM-App-Key) and the signed-in user’s token (Authorization: Bearer …), or their id for an app with unverified sign-in. See From a website or web app.

Parameters

NameInDescription
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200CollectionsOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

GET /guest/v1/collections/{slug}

A collection and its articles, in the user’s language.

Needs: the app key (X-CRM-App-Key) and the signed-in user’s token (Authorization: Bearer …), or their id for an app with unverified sign-in. See From a website or web app.

Parameters

NameInDescription
slug (required)pathThe article’s or collection’s slug.
langqueryA language to read in (a BCP 47 tag), instead of the user’s own.

Answers

StatusBodyMeaning
200CollectionArticlesOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.