from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.integrations.kno2.messages.get_attachment(
attachment_id="attachmentId",
slug="slug",
message_id="messageId",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>"
}
Retrieve a specific attachment for a Kno2 message.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.integrations.kno2.messages.get_attachment(
attachment_id="attachmentId",
slug="slug",
message_id="messageId",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>"
}
The slug of the Kno2 connection.
The ID of the message.
The ID of the attachment to retrieve.
Attachment retrieved successfully as a document resource.