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

200
application/json

Attachment retrieved successfully as a document resource.