API reference
Prompts and topics
Start with questions from the library, your own list or a customer conversation. Organize the questions by topic, then approve the versions that a managed check should use.
GET /v2/prompts
- Browse prompt libraries. Lists the shared prompt library or your private prompts.
- Check prompt coverage. Count active prompts by buyer stage, intent, market and profile assignment. The unassigned counts show how many prompts still need a group or audience.
- Export prompts. Exports a brand's prompts as JSON or CSV, with filters.
- Find buyer questions. Reads suggested buyer questions for a brand from its profile or CRM, branded or unbranded.
- Read prompt assignments. Read the audiences, products, services, groups and buyer stage assigned to a prompt.
- Read prompt history. Lists the checks that captured any version of a prompt, with the answers from each check.
- Read an approved prompt set. Reads the approved prompt set for a brand, or for one of its websites.
- List topics. Lists the brand's topics. A topic is a named group of prompts.
- Find prompts for a topic. Searches the brand's active prompt text to suggest prompts for a topic.
POST /v2/prompts
- Create a prompt. Creates a private prompt for a brand. Returns HTTP 409 if you already track the same question, unless you set allow_similar.
- Import prompts. Imports many prompts at once as a manual list, plain lines or CSV.
- Build prompts from a template. Builds neutral prompt suggestions from a reviewed template. Nothing is tracked until you create the prompts.
- Generate prompt suggestions. Recommends new prompts, with a reason for each, from the web or a model.
- Preview local prompts. Previews local questions for one brand location from a template. Nothing is saved.
- Preview HubSpot questions. Pulls questions from HubSpot conversation threads for you to review before tracking them.
- Preview questions from text. Finds questions in conversation text you send, for review before tracking them.
PATCH /v2/prompts
- Update a prompt. Edit a private prompt or resume an archived one. Changing the wording creates a version that later checks can refer to.
- Edit prompts in bulk. Applies edits to several of a brand's prompts in one request.
- Assign prompt metadata. Assigns a prompt to audiences, products, services, groups and a buyer stage.
- Archive a prompt. Stops tracking a prompt and keeps its history.
- Request prompt deletion. Starts erasure of a prompt.
- Approve a prompt set. Approves a set of prompt versions for managed checks.
- Save a topic. Creates or edits a topic and its list of prompts.
- Remove a topic. Removes a topic. Its prompts stay in the brand's library.
POST /v2/runs
- Estimate web suggestions. Quotes the credits for web prompt suggestions.