Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up KnowledgePopulate the knowledge base
getList ArticlesgetGet ArticlepostCreate ArticleputUpdate ArticlepostUpload Article ImagedelDelete ArticlegetGet Public ArticlegetGet Public Articles By IDsgetGet Related ArticlesgetSearch ArticlesgetInstant Search ArticlespostAdd Article ReactionpostIncrement Article Views
KnowledgeArticles

Delete Article

Permanently deletes an article and the screenshots it uploaded. Idempotent: deleting an article that does not exist still returns true rather than 404, so the response is not a reliable existence check. Cannot be undone.

DELETE
/projects/{projectId}/knowledge/articles/{id}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the article.

idrequiredstring

ID of the article to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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

Upload Article Image

Uploads a screenshot for a Help Center article, using the same project image upload as pasting an image into the article editor. Send base64 image bytes, a content type, and an optional file name. Optionally set pathPrefix to the article slug so the file is stored with that article's other screenshots. Returns a public https://storage.saasco.com URL to embed in the article body when creating or updating the article. An existing storage URL can be embedded directly and does not need to be uploaded again.

Get Public Article

Fetches a published article by its URL slug: the reader-facing lookup behind a help-center page. Public and unauthenticated. Drafts and internal articles are never returned; anything not publicly visible comes back as `null`.