API reference · Prompts
Add prompts
Add questions (arrive as suggestions; needs a write key).
Needs a write key and a paid plan (Starter, Growth or Agency)POST
/api/v1/domains/{domain}/promptsNew prompts arrive as suggestions: they aren't asked and don't count toward your plan until someone activates them in Manage prompts. Texts shorter than 8 or longer than 500 characters, and duplicates, are skipped silently.
Path parameters
domainstringRequiredThe domain's host, like acme.example, or its ID. List them with List domains.
Body
promptsarrayRequiredQuestion texts, 8 to 500 characters each. Duplicates of existing prompts are skipped.
topicstringTopic to file them under. Defaults to Custom.
Returns
createdarrayThe prompts that were added, as {id, text, status}. Status is always suggested.
Every response includes the domain and the filters that were applied. Errors use the standard error object.