API Reference
Set which modules a set of prompts feeds
Writes the module list on every prompt named, in one pass over the topics that hold them. Ads membership is left as each prompt has it, so the hidden surface survives a bulk edit made from a wallet that does not show it. The list can never be empty.
AuthorizationBearer <token>
Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
In: header
Path Parameters
domainId*string
Domain the prompts belong to
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/topic-prompts/modules" \ -H "Content-Type: application/json" \ -d '{ "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ], "modules": [ "visibility", "shopping" ] }'Empty