AI UnderwriterAPI reference

Conversation

Borrower conversation messages.

Read borrower conversation

GET /applications/{id}/conversation

Returns borrower conversation messages ordered by display_order.

Use after to sync incrementally: keep the highest display_order you have seen and pass it back on the next call, rather than re-reading the whole thread each time.

GET/applications/{id}/conversation

curl

curl -X GET "https://underwriter.kita.ai/api/v1/applications/{id}/conversation" \
  -H "Authorization: ApiKey $KITA_UW_API_KEY"

Path parameters

FieldTypeDescription
idrequiredstringApplication UUID or human `app_id`, for example `APP-1042`.

Query parameters

FieldTypeDescription
afterintegerCursor. Returns messages with a higher display order.

Response · 200

FieldTypeDescription
dataobject[]
  data[].idstring(uuid)
  data[].display_orderinteger
  data[].rolestring
  data[].bodystring
  data[].created_atstring(date-time)

Errors

FieldTypeDescription
401errorInvalid API key.
404errorNot found, or belongs to another organization.

On this page