read_channel for this specific channel.
External DocumentationTo learn more, visit the Mattermost documentation.
Parameters
| Parameter | Description |
|---|---|
| After | The ID of a post used to filter results that were created after this post. |
| Before | The ID of a post used to filter results that were created before this post. |
| Channel ID | The ID of the channel. Can be obtained from the List All Channels action. |
| Include Deleted | Select to include deleted posts. Note: System admin permissions are required to use this parameter. |
| Page | The page number to retrieve, starting at 0. |
| Per Page | The maximum number of items to retrieve per page. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Since | The date and time to filter results that were created after this timestamp. |
| Type | The type of the post to filter results by. |
Example Output
{
"order": [
"post_id1",
"post_id12"
],
"posts": {
"property1": {
"id": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0,
"edit_at": 0,
"user_id": "string",
"channel_id": "string",
"root_id": "string",
"original_id": "string",
"message": "string",
"type": "string",
"props": {},
"hashtag": "string",
"file_ids": [
"string"
],
"pending_post_id": "string",
"metadata": {
"embeds": [
{
"type": "image",
"url": "string",
"data": {}
}
],
"emojis": [
{
"id": "string",
"creator_id": "string",
"name": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0
}
],
"files": [
{
"id": "string",
"user_id": "string",
"post_id": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0,
"name": "string",
"extension": "string",
"size": 0,
"mime_type": "string",
"width": 0,
"height": 0,
"has_preview_image": true
}
],
"images": {},
"reactions": [
{
"user_id": "string",
"post_id": "string",
"emoji_name": "string",
"create_at": 0
}
],
"priority": {
"priority": "string",
"requested_ack": true
},
"acknowledgements": [
{
"user_id": "string",
"post_id": "string",
"acknowledged_at": 0
}
]
}
},
"property2": {
"id": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0,
"edit_at": 0,
"user_id": "string",
"channel_id": "string",
"root_id": "string",
"original_id": "string",
"message": "string",
"type": "string",
"props": {},
"hashtag": "string",
"file_ids": [
"string"
],
"pending_post_id": "string",
"metadata": {
"embeds": [
{
"type": "image",
"url": "string",
"data": {}
}
],
"emojis": [
{
"id": "string",
"creator_id": "string",
"name": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0
}
],
"files": [
{
"id": "string",
"user_id": "string",
"post_id": "string",
"create_at": 0,
"update_at": 0,
"delete_at": 0,
"name": "string",
"extension": "string",
"size": 0,
"mime_type": "string",
"width": 0,
"height": 0,
"has_preview_image": true
}
],
"images": {},
"reactions": [
{
"user_id": "string",
"post_id": "string",
"emoji_name": "string",
"create_at": 0
}
],
"priority": {
"priority": "string",
"requested_ack": true
},
"acknowledgements": [
{
"user_id": "string",
"post_id": "string",
"acknowledged_at": 0
}
]
}
}
},
"next_post_id": "string",
"prev_post_id": "string",
"has_next": true
}