Create (or upsert) a brand kit
Required permission: projects:write
AuthorizationBearer <token>
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /brand-kits body. Org/user are server-resolved; never accepted from the body.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/brand-kits" \ -H "Content-Type: application/json" \ -d '{ "kitId": "string", "name": "string", "colors": { "primary": "string", "secondary": "string", "accent": "string", "background": "string", "text": "string" }, "headingFont": { "fontFamily": "string", "fontWeight": 0 }, "bodyFont": { "fontFamily": "string", "fontWeight": 0 } }'{ "id": "string", "name": "string", "description": "string", "tagline": "string", "colors": { "property1": "string", "property2": "string" }, "extraColors": [ { "name": "string", "value": "string" } ], "fonts": { "heading": { "family": "string", "weight": 0 }, "body": { "family": "string", "weight": 0 } }, "voiceGuidelines": "string", "captions": { "sync": true, "profile": { "property1": null, "property2": null } }, "createdAt": "string", "updatedAt": "string"}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}