---
title: "get all rooms that the current user has access to"
method: GET
path: "/4.0/rooms"
tags: ["Rooms"]
---

# get all rooms that the current user has access to

`GET /4.0/rooms`

## Request

- Base URL: `https://api.socialtables.com`
- URL: `https://api.socialtables.com/4.0/rooms`
- Auth: none declared

Gets a list of all rooms for which the requestor has
access based on the their roles and their team's roles. Identity
is inferred from OAuth authorization header.

## Query parameters

- `page_size` integer
- `before` string
- `after` string
- `room_ids` string[]

## Response `200`

returns a list of rooms

---

[API](https://skmtc.dev/socialtables/apis/social-tables-api-gateway.md) - [All operations](https://skmtc.dev/socialtables/apis/social-tables-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/socialtables/apis/social-tables-api-gateway/revisions/5693d914a4b5?raw)
