List Channels
Changed onList channels you can access.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Query parameters
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Set to true to return the number of matching results in page_info.total_count. Send first=0 as well to return the count without any results.
Channel kinds to return. Combine private and support, or pass community alone. private includes one-to-one and group direct messages.
Which support channels to return. customer returns support chats you opened, including when account_id is set. staff returns the support inbox of the account in account_id, and requires permission to read that account's support chats. Applies only to support channels.
Filter channels by their owning account, prefixed biz_. Applies to private, community and support channels.
Return only channels whose name contains this text. Private and support channels also match a member's username or name. % and _ match literally.
Return only support channels with this resolution. Requires kind to be support alone.
true returns unresolved support channels whose last message came from the customer; false returns the other support channels. Other channel kinds are returned either way.
true returns channels with messages you have not read; false returns the rest. Requires authenticating as a user.
true returns private and support channels you have pinned; false returns those you have not. Requires authenticating as a user.
true returns community channels you have opened; false returns those you never have. Requires authenticating as a user.
true returns your pending direct-message requests; false returns your accepted private channels. Requires private in kind and authenticating as a user. With support also in kind, false keeps support channels and true returns only pending requests.
The field to sort by. Defaults to last_viewed_at for community channels and last_message_at for private and support channels. Ties sort in a stable order. Cannot be supplied with updated_after.
Members to include for private and support channels, with their public profiles. current includes current members. current_and_deleted also includes former members, marked with deleted_at. Omit or pass null to leave out members.
Include the most recent message you can see, with its author.
The sort direction. Defaults to desc. Cannot be supplied with updated_after.
Include redacted entries for deleted channels and your removed memberships. Use deleted_at to remove these channels from your cache.
Return channels where the channel or your membership changed at or after this ISO 8601 timestamp. Cannot be more than one hour old, including on subsequent pages. For older changes, reload channels without updated_after. Results use ascending synchronized_at order. Cannot be combined with order, direction, query, status, awaiting_reply, unread, pinned, viewed, requested, created_before, or created_after.
Return only channels created before this ISO 8601 timestamp.
Return only channels created after this ISO 8601 timestamp.
Headers
Pins the request to a dated API version.
Response
operation completed
Example response
{
"data": [
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"account_id": "biz_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"experience_id": "exp_xxxxxxxxxxxxxx",
"icon": {
"content_type": "application/pdf",
"created_at": "2026-01-01T12:00:00.000Z",
"filename": "evidence.pdf",
"id": "file_xxxxxxxxxxxxxx",
"multipart_chunk_size": 5242880,
"multipart_upload_id": "upload-id",
"multipart_upload_urls": [
{
"part_number": 1,
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
}
],
"object": "file",
"size": 9670,
"upload_headers": {},
"upload_status": "pending",
"upload_url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf",
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/audio/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"visibility": "private"
},
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"kind": "community",
"last_message": {
"attachments": [
{
"content_type": "application/pdf",
"created_at": "2026-01-01T12:00:00.000Z",
"filename": "evidence.pdf",
"id": "file_xxxxxxxxxxxxxx",
"multipart_chunk_size": 5242880,
"multipart_upload_id": "upload-id",
"multipart_upload_urls": [
{
"part_number": 1,
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
}
],
"object": "file",
"size": 9670,
"upload_headers": {},
"upload_status": "pending",
"upload_url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf",
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/audio/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"visibility": "private"
}
],
"author": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"author_user_id": "user_xxxxxxxxxxxxxx",
"channel_id": "feed_xxxxxxxxxxxxxxxxxxxxxx",
"content": "Which detailing service should we demonstrate next?",
"created_at": "2026-01-01T12:00:00.000Z",
"custom_author": {
"profile_picture": {
"content_type": "application/pdf",
"created_at": "2026-01-01T12:00:00.000Z",
"filename": "evidence.pdf",
"id": "file_xxxxxxxxxxxxxx",
"multipart_chunk_size": 5242880,
"multipart_upload_id": "upload-id",
"multipart_upload_urls": [
{
"part_number": 1,
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
}
],
"object": "file",
"size": 9670,
"upload_headers": {},
"upload_status": "pending",
"upload_url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf",
"url": "https://whop-assets-example.s3.amazonaws.com/uploads/audio/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"visibility": "private"
}
},
"external_message": {
"object": "email_message",
"status": "received"
},
"id": "post_xxxxxxxxxxxxxxxxxxxxxx",
"message_type": "regular",
"plain_content": "Which detailing service should we demonstrate next?",
"poll": {
"options": [
{
"id": "1",
"text": "Ceramic coating"
}
]
},
"reaction_counts": [
{
"kind": "emoji",
"reacted": true,
"total_score": 1,
"user_count": 1,
"value": "❤️"
}
],
"updated_at": "2026-01-01T12:00:00.000Z"
},
"last_message_at": "2026-01-01T12:00:00.000Z",
"last_message_id": "post_xxxxxxxxxxxxxxxxxxxxxx",
"members": [
{
"channel_id": "feed_xxxxxxxxxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"id": "memb_1_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"inbox_status": "accepted",
"last_viewed_at": "2026-01-01T12:00:00.000Z",
"notification_preference": "all",
"updated_at": "2026-01-01T12:00:00.000Z",
"user": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"user_id": "user_xxxxxxxxxxxxxx"
}
],
"membership": {
"channel_id": "feed_xxxxxxxxxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"id": "memb_1_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"inbox_status": "accepted",
"last_viewed_at": "2026-01-01T12:00:00.000Z",
"notification_preference": "all",
"updated_at": "2026-01-01T12:00:00.000Z",
"user": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"user_id": "user_xxxxxxxxxxxxxx"
},
"moderation": {
"who_can_post": "everyone",
"who_can_react": "everyone"
},
"name": "Name1",
"notifications_enabled": true,
"support": {
"customer_user_id": "user_xxxxxxxxxxxxxx",
"last_message_by": "customer",
"resolved_at": "2026-01-01T12:00:00.000Z",
"status": "resolved"
},
"synchronized_at": "2026-01-01T12:00:00.000Z",
"updated_at": "2026-01-01T12:00:00.000Z"
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
- info
the security scope
dms:readwas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
dms:readwas added to the endpoint's security schemebearerAuth
1 more change in this revision
- info