---
title: "Get posts for a channel"
method: GET
path: "/api/v4/channels/{channel_id}/posts"
tags: ["posts"]
---

# Get posts for a channel

`GET /api/v4/channels/{channel_id}/posts`

Get a page of posts in a channel. Use the query parameters to modify the behaviour of this endpoint. The parameter `since` must not be used with any of `before`, `after`, `page`, and `per_page` parameters.
If `since` is used, it will always return all posts modified since that time, ordered by their create time limited till 1000. A caveat with this parameter is that there is no guarantee that the returned posts will be consecutive. It is left to the clients to maintain state and fill any missing holes in the post order.
##### Permissions
Must have `read_channel` permission for the channel.

## Path parameters

- `channel_id` string, required

## Query parameters

- `page` integer
- `per_page` integer
- `since` integer
- `before` string
- `after` string
- `include_deleted` boolean

## Response `200`

Post list retrieval successful

- 38cb7293PostList
  - `order` string[]
  - `posts` object
  - `next_post_id` string — The ID of next post. Not omitted when empty or not relevant.
  - `prev_post_id` string — The ID of previous post. Not omitted when empty or not relevant.
  - `has_next` boolean — Whether there are more items after this page.

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
