Skip to main content
POST
Add documents to a template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string

The workspace the key was issued for, as returned by GET /api/v1/workspaces. Optional: omitting it acts in the key's workspace, and any other id is rejected with 401.

Path Parameters

templateId
string
required

Body

application/json
documents
object[]
required

The documents to add. At least one.

Minimum array length: 1

Response

Success

data
object
required