Skip to main content
POST
Upload attachment bytes authorized against this draft before adding its storage reference

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

draftId
string
required

Body

application/json
name
string
required
contentType
string
required
contentBase64
string
required

Response

Successful response

storageId
string
required
name
string
required
contentType
string
required
size
number
required