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.
Authorization
Authorization In: header
Path Parameters
ID of the project making the request.
Request Body
application/json
Full URL of the site to inspect, including scheme, e.g. https://example.com.
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.