Create a brand
BearerAuthAuthorizationBearer <token>An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.
application/json- body
Create a brand. Skips onboarding. The first entry in domains is treated as the brand's primary website; the rest are stored as additional domains.
id*string1 <= lengthname*string1 <= lengthdomains*array<string>Brand domains. The first entry is the primary website; remaining entries are additional domains.
1 <= itemsaliases?array<string>competitors?array<>prompts?array<>organizationId?stringOrganization to create the brand in.
| Omitted | Present | |
|---|---|---|
| Organization key | creates in the key's own organization | must name the key's own organization; any other value is a 400 |
| Admin key | provisions a new organization named after the brand id | creates in the named organization, which must already exist — 404 if it does not |
An admin key omitting this field is currently the only way to create an organization over the API.
Brand created
application/json- response
id*stringUser-supplied brand identifier (e.g. "acme")
name*stringdomains*array<string>Brand domains. The first entry is the primary website; remaining entries are additional domains.
aliases*array<string>enabled*booleanonboarded*booleancreatedAt*stringdate-timeupdatedAt*stringdate-timeorganizationId*stringThe organization that owns this brand and is billed for it.
enabledModels*array<string>|Models this brand is tracked on. Null means the deployment default.
delayOverrideHours*|Sampling cadence override in hours. Null means the plan cadence.
curl -X POST 'https://app.elmohq.com/api/v1/brands' \
-H 'Content-Type: application/json' \
-d '{
"id": "string",
"name": "string",
"domains": [
"string"
]
}'{
"id": "string",
"name": "string",
"domains": [
"string"
],
"aliases": [
"string"
],
"enabled": true,
"onboarded": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"organizationId": "string",
"enabledModels": [
"string"
],
"delayOverrideHours": 0
}