List chat messages
Protocols: Linked Device API
Required scope: messages:read
Lists stored messages in one conversation, newest first by default. Page in either direction with nextCursor and previousCursor. Beta: requires team enrollment.
Authorizations
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
Identifier of the connected Polymorfa session.
Value constraints
1Public conversation identifier or E.164 phone number. Conversation ID or E.164 phone number.
Query Parameters
Specifies limit for this query parameter.
Value constraints
1 <= x <= 10050
Specifies cursor for this query parameter.
Value constraints
1 - 1024^[A-Za-z0-9_-]+$Specifies order for this query parameter.
Allowed values
desc, asc Specifies since for this query parameter.
Value constraints
Specifies until for this query parameter.
Value constraints
Specifies direction for this query parameter.
Allowed values
inbound, outbound Specifies types for this query parameter.
Value constraints
^[a-z][a-z_]{0,31}(?:,[a-z][a-z_]{0,31}){0,15}$"text,image"
Response
One page of messages
Whether the request succeeded.
Allowed values
true Structured data carried by this object.
True when nextCursor returns more items.
Specifies next cursor for this native list chat messages response.
Accepted alternatives
Cursor for the preceding page of messages. Null when no preceding page exists.
Accepted alternatives