Create reference document
Specify document metadata in the request, and get back an upload_url
at which to put the PDF, for example with curl -T ./sample.pdf
.
Authorizations
Sensible uses API keys to authenticate requests. Keep your API keys secure and do not share them publicly accessible areas such as GitHub, client-side code, etc. Authentication to the API is performed via Bearer Authentication. Provide your API key as the bearer auth value.
Path Parameters
The unique document type identifier in v4 UUID format. Find IDs using the /document_types
endpoint.
Body
Upload url for putting the document
Unique user-friendly name for a document
User-friendly name of the configuration to associate to the reference document
3 - 128
Response
Unique user-friendly name for a document
ISO 8601 date-time.
User-friendly name of the configuration to associate to the reference document
3 - 128
Any errors that occurred processing the reference document
If present, the URL to which a reference document can be PUT
If present, the URL to GET to retrieve the reference document
If present, the URL to GET to retrieve a thumbnail image of the first page of the reference document