Skip to main content
Create a metadata definition

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
definition
object
required

The definition to create. Its name becomes the document type and must be free.

thumbnailHtml
string

HTML rendered into the preview image shown for this document type in the interface.

Response

The metadata definition was created.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"