Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

CRM

Email Marketing

Knowledge

getList ArticlesgetGet ArticlepostCreate ArticleputUpdate ArticledelDelete ArticlegetGet Public ArticlegetGet Public Articles By IDsgetGet Related ArticlesgetSearch ArticlesgetInstant Search ArticlespostAdd Article ReactionpostIncrement Article Views

Support

Projects

Articles

Increment Article Views

Adds one to an article's view counter. Public and unauthenticated, intended to be called on page load. Every call counts. There is no per-reader deduplication, so this measures page views rather than unique readers.

POST
/knowledge/articles/{articleId}/views

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

articleIdrequiredstring

ID of the article whose view count to increment.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/knowledge/articles/string/views"
true
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Add Article Reaction

Records a reader's helpfulness rating on an article, incrementing that article's happy, neutral, or sad counter. Public and unauthenticated, so it can be called straight from a help-center page. There is no deduplication. The same reader can react repeatedly.

List Collections

Lists a help center's collections, each with its articles and nested child collections, for building the navigation tree. Includes drafts and internal articles. Use List Public Collections for the reader-facing version.