Skip to main content
GET
/
v1
/
documents
/
{documentId}
Get document
curl --request GET \
  --url https://api.zavu.dev/v1/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "document": {
    "id": "<string>",
    "name": "<string>",
    "documentType": "passport",
    "status": "pending",
    "createdAt": "2023-11-07T05:31:56Z",
    "mimeType": "<string>",
    "fileSize": 123,
    "rejectionReason": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

documentId
string
required

Response

Document details.

document
object
required

A regulatory document for phone number requirements.