API reference

Brand

Build the brand profile from a website, then read and save it.

How the brand profile works

The brand profile (the brand kit) tells MoltMentions what the brand sells, who it sells to, who it competes with and which topics matter. Prompts and runs are built from it. Build it once with POST /v1/brand-kit/enrich, review it, and save your edits with PUT /v1/brand/preferences.

Most routes take brand_domain, the brand’s website without scheme or path, such as acme.com. A key works for the brands on its account.

Build the profile

POST /v1/brand-kit/enrich

Build or refresh the brand kit from the domain. Billed per step

A domain that is already known is answered from the cache in the same call, and the call is billed the same. Times out after 1m30s.

Run the steps in order for the most control: details, buyers, competitors, personas, topics. Save each result with PUT /v1/brand/preferences.

ParameterInRequiredDescription
Idempotency-KeyheaderNoA retry with the same key is answered from the stored response and charged once.

Body (JSON)

FieldTypeRequiredDescription
brand_domainstringYes
step_idstringNoRun one step. Leave it out to run the full pass. One of: details, buyers, competitors, personas, topics

Returns 200. The kit.

Request
curl -X POST https://api.thrivestack.ai/v1/brand-kit/enrich \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"brand_domain": "acme.com", "step_id": "competitors"}'

Read and save the profile

GET /v1/brand/preferences

Get the brand kit preference. Free

ParameterInRequiredDescription
brand_domainqueryNoThe brand's domain, as listed on the key.

Returns 200. The preferences.

PUT /v1/brand/preferences

Save the brand kit preferences. Free

ParameterInRequiredDescription
Idempotency-KeyheaderNoA retry with the same key is answered from the stored response and charged once.

Body (JSON)

FieldTypeRequiredDescription
brand_domainstringYes
descriptionstringNoUp to 2000 characters
value_offeringstringNoUp to 1000 characters
industrystringNo
hq_country_codestringNoISO 3166-1 alpha-2 code.
occupationstringNoUp to 300 characters
business_modelstringNo
languagestringNo
competitorsarray of stringNoUp to 50 items
ai_topicsarray of stringNoUp to 50 items
brand_identityarray of stringNoUp to 20 items
products_and_servicesarray of stringNoUp to 50 items
target_marketsarray of stringNoUp to 50 items
target_markets_geoarray of objectNoUp to 50 items
customer_segmentsarray of stringNoUp to 20 items
personasarray of objectNoUp to 20 items
avoid_termsarray of stringNoUp to 50 items
enginesarray of stringNoUp to 10 items
prompt_branding_modestringNoOne of: non_branded, branded, blended
intent_informationalintegerNoRange 0-100
intent_commercialintegerNoRange 0-100
intent_transactionalintegerNoThe three intents must add up to 100 when any is sent. Range 0-100

Returns 200. The saved preferences.