GET
/
api
/
v2
/
policies
/
{policyId}
/
text
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.policies.retrieve_text(
    "policyId",
)
print(response.text)
{
  "text": "<string>"
}

Path Parameters

policyId
string
required

Unique identifier for the policy

Response

200
application/json

Successfully retrieved policy text