List all Documents

Retrieves list of all documents that belong to a Person or Business
Documents
List all Documents
 last updated: 
November 30, 2023

You will need to pass the accountId parameter to list the contacts associated to that account. You can also filter by type.

ENDPOINT (PERSON)

  1. GET v1/person/:id/document/

ENDPOINT (BUSINESS)

  1. GET v1/business/:id/document/

RESPONSE

  1. {
  2.   "total": 2,
  3.   "data": [
  4.     {
  5.       "id": "doc-805a26e8-9eaa-43cd-8d51-3d0901b13225",
  6.       "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
  7.       "url": "",
  8.       "name": "License Back",
  9.       "description": "back of license",
  10.       "docType": "drivingLicense",
  11.       "status": "active",
  12.       "documentNumber": "D123456789",
  13.       "issuingCountry": "US",
  14.       "issuingState": "CA",
  15.       "expirationDate": "2025-09-08",
  16.       "createdAt": "2022-09-07T01:00:49Z",
  17.       "modifiedAt": "2022-09-07T01:03:12Z"
  18.     },
  19.     {
  20.       "id": "doc-74ee7e4b-2650-44fe-b699-c49c1baf6a06",
  21.       "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
  22.       "url": "",
  23.       "name": "License Front",
  24.       "description": "front of license",
  25.       "docType": "drivingLicense",
  26.       "status": "active",
  27.       "documentNumber": "D123456789",
  28.       "issuingCountry": "US",
  29.       "issuingState": "CA",
  30.       "expirationDate": "2025-09-08",
  31.       "createdAt": "2022-09-06T23:54:52Z",
  32.       "modifiedAt": "2022-09-06T23:54:52Z"
  33.     }
  34.   ]
  35. }