v1

latestOpenAPI 3.1.02026-07-26590236.8 KB

List Documents

get/entity_document/{entity_type}/{entity_id}

Path parameters

entity_type'person' required
entity_idstring required

Response

200

messagestring
{"stackTrail":"paths:/entity_document/{entity_type}/{entity_id}:get:responses:200:content:application/json:schema:properties:meta","oasType":"schema","type":"unknown"}
statusstring

Example response

{
  "data": [
    {
      "id": "2d443be5bd5511ef97d00edb5e3a61d3",
      "entity_type": "person",
      "person_id": "2c0090a9bd5511ef97d00edb5e3a61d3",
      "type": "passport",
      "url": "https://oval-staging.s3.amazonaws.com/kyc/8dbe79d36c1011ed8cc5dacad92d8272/person/3206f36aa5654185ba6707dbdcbf823b",
      "file_type": "image/png",
      "created_at": "2024-12-18T15:31:40Z",
      "updated_at": "2024-12-18T22:09:38Z"
    }
  ],
  "message": "Entity documents retrieved successfully",
  "status": "success"
}