Skip to main content
POST
Register an email import attachment
Required scopes: metrics:write.

Authorizations

x-chatobserver-key
string
header
required

A workspace API key. Data endpoints require a service-account key with the specified scopes.

Headers

Idempotency-Key
string
required

Unique key for one logical command. Reuse it only when retrying the same request and payload.

Required string length: 16 - 160
Pattern: ^[A-Za-z0-9:_-]+$

Path Parameters

intakeId
string<uuid>
required

Resource identifier returned by the API.

Body

application/json
format
enum<string>
required
Available options:
csv,
parquet,
tsv,
xlsx,
jsonl
originalFileName
string
required
Required string length: 1 - 255
contentType
string
required
Required string length: 1 - 160
byteCount
integer
required
Required range: x <= 10737418240
senderAddressHash
string
required
Pattern: ^[a-f0-9]{64}$
senderDomain
string
required
Required string length: 3 - 253
subject
string
required
Maximum string length: 998

Response

Successful response.

data
object
required
replayed
required