DocumentsApi
Functions
Delete documents This endpoint will allow you to batch delete documents. To delete one or more documents pass their ids as an array in the request body Important: If any of the documents fail to delete the whole request will fail Responses:
Get an image version of the document. This endpoint allows you to get an image (jpeg) for any type of document(image, pdf, html_email, etc..).
This will be the url that was returned in the imagePreview field in the GET documents details data format endpoint.
Important: This may take up to 20 seconds to return for pdf or email documents when calling for the first time Responses:
Get the orginal pdf of a pdf/pdf_email source format document. This endpoint allows you to get the original pdf for any pdf source format document (pdf or pdf_email).
This will be the url that was returned in the url field in the GET document details data format endpoint for pdf documents.
Important: This endpoint can only be called for pdf or pdf_email source format documents and will not work with other document source format types Responses:
Update a document This endpoint allows you to update a specific subset of data for a single document given its ID. \\ The schema defined below outlines the fields which can be updated. To unset a specific field you can pass empty string or null. Numeric or Enum fileds must be null to unset. Responses:
Get a document This endpoint will retrieve the details of a single document with the given ID. Responses:
Returns a paginated list of documents from a user. This will retrieve a paginated list of documents for the current user. Responses:
Query documents for processing status updates Query a list of documents (using their id) for their processing status Responses:
Create a new document This allows clients to submit new documents to be processed by the system. Only clients with the feature flag enableInvoice enabled are allowed to submit documentType = 'invoice'. Contact Sensibill support for more information about the enableInvoice feature flag. Responses: