Skip to main content
GET
/
cases
/
{case_id}
/
documents
/
{document_id}
Get document metadata
curl --request GET \
  --url https://api.example.com/v1/cases/{case_id}/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "01K5XB07CJ5T22HRYE78AN7DEF",
    "type": "death_certificate",
    "file_name": "death_cert_scan.pdf",
    "file_size_bytes": 245000,
    "mime_type": "application/pdf",
    "status": "uploaded",
    "uploaded_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "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

case_id
string
required

Unique case identifier (ULID format).

document_id
string
required

Document identifier.

Response

Document metadata.

data
object