Document Templates

Create a new Document Template

OAuth Scope

This endpoint requires the following OAuth scope manage_templates.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/documenttemplate.json

Request body

uuidstring uuid

Unique identifier for this record

namestring

Example request

{
  "uuid": "123e4567-5795-4fa5-9349-23f94a83bcfb"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes

Changed in 4 of the 50 revisions of this API.36

    • removed the request property active

      request-property-removed

    • removed the request property related_object

      request-property-removed

    • removed the request property template_type

      request-property-removed

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • the security scope manage_templates was added to the endpoint's security scheme oauth2

      api-security-scope-added

    • endpoint added

      endpoint-added