cURL
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>" }
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
Brand AI specifications updated successfully