Skip to main content
GET
/
v1
/
api
/
superadmin
/
agencies
/
{id}
/
kyc
/
documents
List agency KYC documents (admin)
curl --request GET \
  --url http://localhost:3091/v1/api/superadmin/agencies/{id}/kyc/documents \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "agencyId": 123,
    "name": "<string>",
    "fileUrl": "<string>",
    "uploadedAt": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "reviewedAt": "2023-11-07T05:31:56Z",
    "reviewedById": 123,
    "rejectionReason": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

id
integer<int64>
required

Response

Documents retrieved

id
integer<int64>
agencyId
integer<int64>
name
string
fileUrl
string
uploadedAt
string<date-time>
status
string
reviewedAt
string<date-time>
reviewedById
integer<int32>
rejectionReason
string