Pular para o conteúdo principal
PATCH
/
api
/
workspace
/
{workspaceId}
/
brands
/
{brandId}
/
ai-specs
Update brand AI specifications
curl --request PATCH \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tone_of_voice": "<string>",
  "brand_objective": "<string>",
  "target_audience": "<string>",
  "content_policies": "<string>",
  "language_preferences": "<string>",
  "keywords_always": [
    "<string>"
  ],
  "keywords_never": [
    "<string>"
  ],
  "custom_instructions": "<string>"
}
'
{
  "id": "<string>",
  "brand_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "tone_of_voice": "<string>",
  "brand_objective": "<string>",
  "target_audience": "<string>",
  "content_policies": "<string>",
  "language_preferences": "<string>",
  "keywords_always": [
    "<string>"
  ],
  "keywords_never": [
    "<string>"
  ],
  "custom_instructions": "<string>"
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>

Parâmetros de caminho

workspaceId
string
obrigatório

The workspace ID

Pattern: ^ws_[a-z0-9]+$
brandId
string
obrigatório

Corpo

application/json
tone_of_voice
string | null
brand_objective
string | null
target_audience
string | null
content_policies
string | null
language_preferences
string | null
keywords_always
string[] | null
keywords_never
string[] | null
custom_instructions
string | null

Resposta

Brand AI specifications updated successfully

id
string
obrigatório
brand_id
string
obrigatório
created_at
string<date-time>
obrigatório
updated_at
string<date-time>
obrigatório
tone_of_voice
string | null
brand_objective
string | null
target_audience
string | null
content_policies
string | null
language_preferences
string | null
keywords_always
string[] | null
keywords_never
string[] | null
custom_instructions
string | null
Last modified on April 13, 2026