Skip to main content
POST
Upload Event Form

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Headers

Idempotency-Key
string

A retry with the same key and request returns the original form id for 30 days from the successful first request. Keys are scoped to the calling credential. Reusing a key with a different request within that window returns 422 IDEMPOTENCY_KEY_REUSED. Failed attempts store no key. After 30 days a request uploads a new form, even with the same key.

Required string length: 1 - 255
Pattern: ^[\x20-\x7E]{1,255}$

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
eventId
string<uuid>
required

Existing live claim or incident id in this company.

fileName
string
required

PDF filename ending in .pdf; the extension is removed for the form's display name.

Required string length: 1 - 255
fileBase64
string<byte>
required

Base64-encoded PDF bytes, without a data URL prefix.

Required string length: 1 - 26666668

Response

Working form uploaded and attached to the event.

id
string<uuid>
required