For the complete documentation index, see llms.txt. This page is also available as Markdown.

Attachments

Upload a file attachment

post
Required scopes
This endpoint requires the following scopes:
Authorizations
Body
pathstringOptional

Optional path in S3 where the file should be stored

transactionIdstringRequired

Transaction ID

filestring · binaryRequired

File to upload

Responses
200

File uploaded successfully. Requires authentication and attachment.upload scope.

application/json
post/attachments
POST /api/events/attachments HTTP/1.1
Host: localhost:3000
Content-Type: multipart/form-data
Accept: */*
Content-Length: 54

{
  "path": "text",
  "transactionId": "text",
  "file": "binary"
}
200

File uploaded successfully. Requires authentication and attachment.upload scope.

{
  "result": {
    "data": {
      "json": "text"
    }
  }
}

Last updated