# Get a chatroom by id **GET /chat/chatrooms/{id}** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Headers - **X-Popsell-Brand** (integer) The id of the target brand ### Path parameters - **id** (integer) The chatroom id ## Responses ### 200 Returns the chatroom #### Body: application/json (object) - **id_chatroom** (integer) - **ambassadors** (array[object]) - **date_insert** (string(date-time)) - **last_message_date** (string(date-time)) - **type_chatroom** (integer) 0: one to one , 7: one to many - **type_discussion** (integer) 0: between members, 1: between external, 2: between members and external - **source** (string) 0:direct, 1:waiting_list, 2:hot_list - **established_dialogue** (string(date-time)) true: chatrooms with at least two authors, false: chatrooms with only one author - **last_rating** (object) - **last_summary** (object) ### 401 Unauthorized. #### Body: application/json (object) - **message** (string) ### 403 Forbidden - You don't have permission to access this route [Powered by Bump.sh](https://bump.sh)