Skip to main content
POST
Save email attachment

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Path Parameters

thread
string
required

Thread ID

attachment
string
required

Attachment ID (MongoDB ObjectID for GCP-stored) or source ID (email provider attachment ID)

Body

application/json

Parent folder ID and filename

filename
string
parent
string

Response

Saved file information

file
object