Skip to main content
POST
Verify and scan an uploaded attachment so a reply can include it

Authorizations

Authorization
string
header
required

Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.

Path Parameters

workspaceId
string
required
Minimum string length: 1
conversationId
string
required
Minimum string length: 1

Body

application/json
filename
string
required
Required string length: 1 - 255
contentType
string
required
Minimum string length: 1
attachmentId
string
required
Minimum string length: 1
key
string
required
Minimum string length: 1
sizeBytes
integer
required
Required range: x <= 9007199254740991

Response

Verify and scan an uploaded attachment so a reply can include it

id
string
required
Minimum string length: 1
filename
string
required
contentType
string
required
detectedContentType
string | null
required
sizeBytes
integer
required
Required range: 0 <= x <= 9007199254740991
kind
string
required
attachmentState
string
required
messageId
string | null
required
Minimum string length: 1