KIVEX
Capabilities

inquiry.get

Get one inquiry with the person's contact details.

Returns one inquiry. Webhooks carry no personal data by default, so this is how a system that received inquiry.created reads who the person is and what they need.

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.get","input":{"inquiryId":"inq_01J9Z7"}}'

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

Errors

This capability can answer with BAD_REQUEST, NOT_SUPPORTED, NOT_ALLOWED, RATE_LIMITED, UNKNOWN, SOURCE_UNAVAILABLE.

Example: after a webhook

{
  "inquiryId": "inq_01J9Z7"
}

On this page