KIVEX
Capabilities

inquiry.update

Move an inquiry along or add a note.

Changes an inquiry's state or your note on it, so the Hub shows the same thing as your CRM. Every change sends the inquiry.updated webhook.

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

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

  • Send an idempotencyKey with the request: a retried request then changes nothing twice.

Errors

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

Example: mark as contacted

{
  "inquiryId": "inq_01J9Z7",
  "status": "contacted"
}

On this page