Skip to main content
These pages describe the Training API update merged into dev. Production availability and successful end-to-end verification are not yet confirmed. New fields, stricter edit behavior, and website brand lookup require the updated API and worker. See Testing and availability.
POST {API_BASE}/v1/brand-kits This is the website URL lookup used by Training. It retrieves context.dev brand information; it does not create or list saved brands from the Marketing Brand tab.

Request

domain is required, with 1–2048 characters. Supply a public domain or HTTP(S) website URL. The server normalizes the host, removes a leading www., and ignores the URL path. IP addresses, local hostnames, credentials in URLs, and explicit ports are rejected with 422. Allow up to 90 seconds in your client for a lookup. Brand retrieval is required; styleguide and font extraction are optional enrichments. Missing enrichments do not discard a valid brand result.

Response

HTTP 200 can mean either { "success": true, "data": { ... } } or { "success": false, "error": "..." }. Always check success. Missing configuration, provider failure, no brand found, and a brand flagged as unsafe return success: false with a sanitized error. Authentication and request validation failures use HTTP error responses. The server needs CONTEXT_DEV_API_KEY; callers send only their Knowlify key.

Apply selected context to a video

Brand lookup does not automatically attach context. Map the selected fields into a video creation item: Only forward font-file sources supported by creation (google or custom); omit an unknown source. Review the selected images and fonts before submitting them.