ChatV2Message
get/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Messages
Path parameters
ServiceSidstring required
The SID of the Service to read the Message resources from.
ChannelSidstring required
The SID of the Channel the Message resource to read belongs to. This value can be the Channel resource's sid or unique_name.
Query parameters
Order'asc' | 'desc'
The sort order of the returned messages. Can be: asc (ascending) or desc (descending) with asc as the default.
PageSizeinteger
How many resources to return in each list page. The default is 50, and the maximum is 100.
Pageinteger
The page index. This value is simply for client state.
PageTokenstring
The page token. This is provided by the API.
Response
OK