Cases
Get Case Email
Read an email received on a case
GET
Read an email that arrived on a case: the sender, the recipients, the subject, the body and
the attachments.
Use it after a webhook. The
Call this endpoint with the id of the case and that
The email must belong to the case in the path. An email of another case answers 404, like
an email that does not exist.
email.received change only carries
the id of the email:
The change in the webhook
email.id.
text is the body as plain text. The HTML version and the original email file are not
available through the API.Each attachment comes with a
uri. Call it with Accept: application/octet-stream to
download the file. See Get Attachment.Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Path Parameters
Response
Successful response