Skip to main content
GET
Get chat message media

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Path Parameters

session
string
required

Identifier of the connected Polymorfa session.

Value constraints

Minimum string length: 1
conversation
string
required

Public conversation identifier or E.164 phone number. Conversation ID or E.164 phone number.

messageId
string
required

Polymorfa message ID. Use the Polymorfa message's id for actions and replies.

Value constraints

Pattern: ^[1-9][0-9]{0,18}$
Example:

"739182640518203"

Response

The media bytes, with the stored content type

The response is of type file.