Fetch a specific document using its ID
get/v1/documents/{id}
Request
- Base URLhttps://api.gomotive.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Specify the ID of the document that you want to fetch.
Response
200
Example response
{
"document": {
"id": 1151,
"category": "bill of lading",
"public_url": "/url/to/the/document",
"notes": "notes taken for bill of lading",
"ref_no": "ref no for doc",
"doc_date": "2020-04-21",
"doc_time": "2020-04-21T02:00:00Z",
"uploader": {
"id": 10621,
"first_name": "Nova",
"last_name": "Effertz",
"email": "6fe7feabfc08@keeptruckin.com",
"role": "dispatcher"
},
"created_at": "2020-04-21T14:41:51Z",
"updated_at": "2020-04-21T14:41:51.219599Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.