Skip to main content
GET
List messages in a Microsoft Teams channel

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

teamId
string
required

Team ID from the joined teams list.

Required string length: 1 - 512
channelId
string
required

Channel ID from the team's channels list.

Required string length: 1 - 1024

Query Parameters

maxResults
integer
default:20

Maximum messages per page (default 20).

Required range: 1 <= x <= 50
pageToken
string

nextPageToken from the previous page of the same list

Required string length: 1 - 4096

Response

Teams channel messages returned.

ok
boolean
required
messages
object[]
required
nextPageToken
string | null
required
hasMore
boolean
required