Skip to main content
POST
/
api
/
brands
/
setup-my-brand
Set up a hosted brand.json
curl --request POST \
  --url https://agenticadvertising.org/api/brands/setup-my-brand \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "acmecorp.com",
  "brand_name": "<string>",
  "logo_url": "<string>",
  "brand_color": "<string>"
}
'
{
  "domain": "<string>",
  "has_brand_json": true,
  "hosted_brand_json_url": "<string>",
  "pointer_snippet": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://agenticadvertisingorg-changeset-release-main.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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
logo_url
string
brand_color
string

Response

Brand setup result

domain
string
required
has_brand_json
boolean
required
hosted_brand_json_url
string
required
pointer_snippet
string
required

JSON string for brand.json pointer