Skip to main content
POST
Save brand

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header. Two token types are accepted:

  • Organization API key (sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use.
  • User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at /.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.

Body

application/json
domain
string
required
Example:

"acmecorp.com"

brand_name
string
required
Example:

"Acme Corp"

brand_manifest
object

Response

Brand saved or updated

success
enum<boolean>
required
Available options:
true
message
string
required
domain
string
required
id
string
required
revision_number
integer