GET
/
api
/
v2
/
documents
/
{documentId}
/
csv-content
import os
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key=os.environ.get("SAMPLEHC_API_KEY"),  # This is the default and can be omitted
)
response = client.v2.documents.retrieve_csv_content(
    "documentId",
)
print(response.data)
{
  "data": [
    {}
  ]
}

Path Parameters

documentId
string
required

The unique identifier of the CSV document.

Response

200
application/json

Successfully retrieved CSV content.