Chat

OpenAPI V2

Chat with your digital report.

post

Chat with your digital report.

Authorizations
Header parameters
x-api-versionstringRequired
ApplicationNameanyOptional

Name of the application to integrates with API’s to Semansys.Next.

PartnerNameanyOptional

Contract owner (organization) name that have embedded the API’s.

PartnerIDanyOptional

Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.

CustomerNameanyOptional

Customer (organization) name (ie. accounting firm, intermediary, ....).

CustomerIDanyOptional

Business Identification Number (BIN) of the customer.

ClientNameanyOptional

Client (organization) name of the customer of the accounting firm, intermediary...

ClientIDanyOptional

Business Identification Number (BIN) of the client.

Body
documentIdstring | nullableOptional

The ID of the document, uploaded in our system.

Example: 155c0585-8309-40b4-8de3-fd0951021d80
messagestring | nullableOptional

The question that you want to ask your PDF.

Example: Provide me with summary of Report.pdf
Responses
200
OK
application/json
post
POST /reportchat/chat HTTP/1.1
Host: 
Authorization: Bearer JWT
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 103

{
  "documentId": "155c0585-8309-40b4-8de3-fd0951021d80",
  "message": "Provide me with summary of Report.pdf"
}
{
  "answer": "The document is a financial report for last year. The report includes information about the company..."
}

Was this helpful?