POST /v1/documents creates a new chattel document in your account. You can optionally attach a loan record at creation time. The document immediately appears in your list and triggers a document.created event in your activity feed.
Request headers
string
required
Bearer token obtained from your Clerk session. Example:
Bearer eyJhbGc...string
required
Must be
application/json.Request body
string
required
Display name for the document. Minimum 1 character, maximum 200 characters.
string
Optional longer description or notes. Maximum 2000 characters. Pass
null or omit to leave unset.string
required
Classification ID for the type of chattel asset. Must be one of the valid chattel type IDs listed in the chattel types table below. Returns
400 if the value is not recognized.object
Attach a loan record to this document. Omit or pass
null to create the document without a loan.Response
Returns201 Created with the newly created document.
object
required
The created document, identical in shape to documents returned by List documents.
Example
Chattel types
ThechattelType field must be one of the following IDs. The API returns 400 { "error": "Invalid chattelType." } if you submit a value not in this list.
