Skip to Content
Developers
API ReferenceCases

Direct PDF byte stream supporting Range (206) and ETag (304) (1 credit).

GET
/api/v1/in/cases/{id}/pdf

Authorization

BearerAuth
headerAuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>

Path Parameters

id*string

String-encoded BIGINT corpus document ID.

Match^[0-9]+$

Header Parameters

Range?string
If-None-Match?string

Response Body

Full PDF bytes

response?fileapplication/pdf
Formatbinary
Example Request
curl -X GET 'https://api.vidhi.shamik.app/api/v1/in/cases/string/pdf'
Example Response
"string"