Skip to main content
GET
/
v2
/
documents
/
{document-id}
Get Document by ID
curl --request GET \
  --url https://api.avenia.io:8443/v2/v2/documents/{document-id} \
  --header 'Authorization: Bearer <token>'
{
  "document": {
    "id": "<string>",
    "documentType": "<string>",
    "uploadStatus": "<string>",
    "verificationStatus": "<string>",
    "frontUrl": "<string>",
    "backUrl": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Get Document by ID

GET request to /v2/documents/

Authorizations

Authorization
string
header
required

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

Path Parameters

document-id
string
required

ID of the document

Query Parameters

subAccountId
string

Sub-account ID

Response

OK

document
object
required