v1

latestOpenAPI 3.0.02026-07-14135106116.2 KB
connections

Create connection

Create a new connection bound to the given scope (can be a project or inbox)

Permission required: edit_integrations

post/connections

Headers

X-Fieldsstring mask

An optional fields mask

Request body

event'document_predict' | 'document_evaluate' | 'document_text' | 'document_split' | 'document_delete' required
integrationstring required
scopestring
what'original' | 'reply_to' | 'ready' | 'submit' required

Example request

{
  "event": "document_predict",
  "integration": "abcdef123456789abcdef123",
  "scope": "abcdef123456789abcdef123",
  "what": "original"
}

Response

Success

event'document_predict' | 'document_evaluate' | 'document_text' | 'document_split' | 'document_delete' required
integrationstring required
scopestring
what'original' | 'reply_to' | 'ready' | 'submit' required
idstring required

Example response

{
  "event": "document_predict",
  "integration": "abcdef123456789abcdef123",
  "scope": "abcdef123456789abcdef123",
  "what": "original"
}