Prompts
Change the type, intent, location or enabled state of prompts, or delete them.
apiKey writex-api-key<token>Workspace API key from Settings > API keys. Also accepted as Authorization: Bearer gsk_...
Scope: write
brandId*stringuuidapplication/jsonids*array<>1 <= items <= 100action*string"classify""locate""delete""enable""disable"type?PromptTypeorganic: names no brand; brand_specific: names your brand; competitor_comparison: names a competitor
"organic""brand_specific""competitor_comparison"intent?PromptIntentWhat the person asking wants to do
"informational""commercial""navigational""branded"countryCode?|For locate: a country code, or null for Global
^[a-z]{2}$Applied to every listed prompt of the brand
application/jsonupdated*integerskipped*integerPrompts left unchanged: same text already in that location, or already enabled or disabled
curl -X POST 'https://app.gensiv.com/api/v1/brands/497f6eca-6276-4993-bfeb-53cbbbba6f08/prompts/bulk' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "6e0346a3-e54d-40e3-9779-4ba1e707e35b" ], "action": "classify"}'{ "updated": 0, "skipped": 0}curl -X POST 'https://app.gensiv.com/api/v1/brands/497f6eca-6276-4993-bfeb-53cbbbba6f08/prompts/bulk' \
-H 'Content-Type: application/json' \
-d '{
"ids": [
"6e0346a3-e54d-40e3-9779-4ba1e707e35b"
],
"action": "classify"
}'{
"updated": 0,
"skipped": 0
}