# Get all chatrooms (manager) **GET /manager/chatrooms** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters #### Query parameters - **sort** (string) Sort the chatrooms by last_message_date (-last_message_date: descending, last_message_date: ascending) - **filter[type_chatroom]** (string) Filter the chatrooms by type_chatroom (0: one to one , 7: one to many) - **filter[type_discussion]** (string) Filter the chatrooms by type_discussion(0: between members, 1: between external, 2: between members and external) - **filter[source]** (string) Filter the chatrooms by source - **filter[dialogue]** (string) established : chatrooms with at least two authors, not established : chatrooms with only one author - **filter[last_rating]** (string) Filter the chatrooms by their last_rating - **filter[ambassador]** (integer) Filter the chatrooms by having messages posted by the ambassador - **page** (integer) page number - **per_page** (integer) number of items per page ## Responses ### 200: Returns all the chatrooms (paginated) #### Body Parameters: application/json (object) - **current_page** (integer(int32)) - **data** (array[object]) - **first_page_url** (string) - **from** (integer(int32)) - **last_page** (integer(int32)) - **last_page_url** (string) - **links** (array[object]) - **next_page_url** (string) - **path** (string) - **per_page** (integer(int32)) - **prev_page_url** (string(nullable)) - **to** (integer(int32)) - **total** (integer(int32)) ### 401: Unauthorized. #### Body Parameters: application/json (object) - **message** (string) ### 403: Forbidden - You don't have permission to access this route [Powered by Bump.sh](https://bump.sh)