DKBSignDocs

API reference

POSTRequires Bearer token

Start a document conversation

/api/ai/conversations

Submit `/api/ai/conversations`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.

Path parameters

This endpoint has no path parameters.

Query parameters

This endpoint has no query parameters.

Request body

FieldTypeDescription
document_id
Required
stringDocument id from the upload.
message
Required
stringFirst question.
e.g. "What is the termination clause?"

Responses

StatusMeaning
500See the example response.

Request

curl
curl -X POST 'https://api.dkbsigns.com/api/ai/conversations' \
  -H 'Authorization: Bearer $DKBSIGN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"message":"What is the termination clause?"}'

Response 200

json
{
  "status": "success",
  "message": "Upstream response is forwarded unchanged."
}