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

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.

POST
/knowledge/articles/{articleId}/reactions

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

articleIdrequiredstring

ID of the article being reacted to.

Request Body

application/json

reactionrequiredstring

How helpful the reader found the article.

Value in: "happy" | "neutral" | "sad"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/knowledge/articles/string/reactions" \  -H "Content-Type: application/json" \  -d '{    "reaction": "happy"  }'
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": []
}

Instant Search Articles

Type-ahead search for a help-center search box. Returns at most 5 published public articles as lightweight hits (title, slug, collection name, and a short snippet) with `totalCount` reporting how many matched overall so you can offer "see all results". Falls back to fuzzy matching when the phrase is too short or malformed for full-text search, so partial words and typos still return something. Use Search Articles for the full result page.

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.