Audiences
Update an audience
Changed onSend only the fields to change. Lists replace the stored list. Campaigns keep the copy they attached.
Scope: audiences:write.
Send an Idempotency-Key header to make retries safe.
patch/audiences/{audienceId}
Request
- Base URLhttps://www.fandom.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
audienceIdstring required
Audience id.
Headers
Idempotency-Keystring
Any unique string. Repeating a request with the same key returns the first result instead of doing it twice.
Request body
Response
Success
Changes
- info
endpoint added
- info