Create Document

Creates a new document attached to the specified contact.
The file field accepts PDF data under 3MB. For larger files, use the multi-step upload process.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The contact id.

Body Params

A Document represents a file (such as a PDF) stored in the Unify Dental API and associated with a contact.

string

The resource name of the contact that this document belongs to.

string
required
length between 1 and 200

A human-readable name or title for the document, between 1 and 200 characters.

string

The raw file bytes to upload, limited to PDF data under 3MB in size. For larger files, use the multi-step upload process instead.

string

The MIME type of the uploaded file (e.g., application/pdf).

string

The category of the document, in the format documentCategories/{category}.

additional_data
object

A map of arbitrary key-value pairs for storing provider-specific metadata about the document.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json