You will need to pass the accountId parameter to list the contacts associated to that account. You can also filter by type.
ENDPOINT (PERSON)
- GET v1/person/:id/document/
ENDPOINT (BUSINESS)
- GET v1/business/:id/document/
RESPONSE
- {
- "total": 2,
- "data": [
- {
- "id": "doc-805a26e8-9eaa-43cd-8d51-3d0901b13225",
- "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
- "url": "",
- "name": "License Back",
- "description": "back of license",
- "docType": "drivingLicense",
- "status": "active",
- "documentNumber": "D123456789",
- "issuingCountry": "US",
- "issuingState": "CA",
- "expirationDate": "2025-09-08",
- "createdAt": "2022-09-07T01:00:49Z",
- "modifiedAt": "2022-09-07T01:03:12Z"
- },
- {
- "id": "doc-74ee7e4b-2650-44fe-b699-c49c1baf6a06",
- "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
- "url": "",
- "name": "License Front",
- "description": "front of license",
- "docType": "drivingLicense",
- "status": "active",
- "documentNumber": "D123456789",
- "issuingCountry": "US",
- "issuingState": "CA",
- "expirationDate": "2025-09-08",
- "createdAt": "2022-09-06T23:54:52Z",
- "modifiedAt": "2022-09-06T23:54:52Z"
- }
- ]
- }