Overview

Overview of /documents

The Documents API allows the admin of a fleet to get documents stored in Motive to their own dashboards or TMS. These documents currently store the image that was taken by a driver and submitted in the form of document using the Motive mobile app.

The API can be used to retrieve create a new document for upload, update a status of the document and delete a document.

For document upload, Using POST Api to get the s3 url for uploading the document. Use the url to upload the document to S3. Once completed, Use PUT api to mark the document upload status as either 'completed' or 'failed'.