Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

CRM

Email Marketing

Knowledge

getGet Help CenterpostCreate Help CenterputUpdate Help CenterdelDelete Help CentergetGet Public Help CenterpostSet Help Center Custom DomainpostVerify Help Center Custom DomaindelRemove Help Center Custom DomainpostExtract Brand Info

Support

Projects

Help Center

Extract Brand Info

Fetches a website and infers its branding (logo URL and primary colour) for pre-filling help-center theming instead of asking the user to enter it by hand. Both fields are best-effort and either may be absent if nothing usable is found.

POST
/projects/{projectId}/knowledge/extract-brand

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project making the request.

Request Body

application/json

domainrequiredstring

Full URL of the site to inspect, including scheme, e.g. https://example.com.

Format: uri

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/knowledge/extract-brand" \  -H "Content-Type: application/json" \  -d '{    "domain": "http://example.com"  }'
{
  "logo": "string",
  "primaryColor": "string"
}
{
  "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": []
}

Remove Help Center Custom Domain

Detaches the custom domain from the help center and clears its verification state. The help center stays available on its Saasco-hosted URL. Returns 404 if no custom domain is configured. DNS records at your registrar are not touched. Remove them yourself.

Get Widget

Returns the project's Support widget settings: whether the widget is enabled, branding, office hours, notifications, trusted domains, and authored tools. Authenticated; the same payload the dashboard settings page reads, including server-tool auth headers. Not the CORS-gated public widget payload visitors fetch.