Skip to main content
GET
Get Document

Sample Responses

See sample XML response returned by EntityLocker for GSTN Details and Udyam Certificate.

Headers

Authorization
string
required

JWT access token. For token-generation steps, refer to the Quickstart Guide.

x-api-key
string
required

API key used to identify and authenticate the client.

Path Parameters

session_id
string
required

Session identifier generated during EntityLocker SDK Create Session API .

doc_type
enum<string>
required

Document type identifying which EntityLocker document to retrieve. Must match one of the consented doc_types values.

Available options:
company_master_details,
gstn_details,
udhyam_certificate

Response

code
integer
required

HTTP status code

timestamp
integer
required

Unix timestamp (in milliseconds) indicating when the server generated the response

data
object
required
transaction_id
string
required

Unique identifier for tracking the request across systems