Skip to main content
GET
/
api
/
v2
/
integrations
/
kno2
/
{slug}
/
messages
/
{messageId}
/
attachments
/
{attachmentId}
Python
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>"
}

Path Parameters

slug
string
required

The slug of the Kno2 connection.

messageId
string
required

The ID of the message.

attachmentId
string
required

The ID of the attachment to retrieve.

Response

Attachment retrieved successfully as a document resource.

id
string
required
fileName
string
required
I