Chat
OpenAPI V2
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 | nullableOptionalExample:
The ID of the document, uploaded in our system.
155c0585-8309-40b4-8de3-fd0951021d80messagestring | nullableOptionalExample:
The question that you want to ask your PDF.
Provide me with summary of Report.pdfResponses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
post
/reportchat/chatPOST /reportchat/chat HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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?