inquiry.list
List the site's inquiries, newest first.
Returns the inquiries people left on the site: through KIVEX's chatbot, through an AI agent, or through your own system. Use it to pull new inquiries into a CRM or a helpdesk on a schedule; to be told the moment one arrives, subscribe to the inquiry.created webhook instead.
When to use it
Use it for a first import or a periodic sync. For a single inquiry you already know, use inquiry.get.
Available to the operator's own systems. It does not act for a particular person.
Request
Send the capability name and its input to the site's invoke endpoint.
curl https://api.kivex.chat/v1/sites/$SITE/invoke \
-H "Authorization: Bearer $KIVEX_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"inquiry.list","input":{"status":"new","limit":20}}'Prop
Type
Response
The answer is an envelope: data in the shape below, and evidence with the source and time of every value that has an evidenceRef.
Prop
Type
Good to know
- Only for your own systems, with an API key the operator created in the Hub. AI agents cannot read inquiries.
- The list is newest first and stable while you page through it.
Errors
This capability can answer with BAD_REQUEST, NOT_SUPPORTED, NOT_ALLOWED, RATE_LIMITED, UNKNOWN, SOURCE_UNAVAILABLE.
Example: new inquiries
{
"status": "new",
"limit": 20
}