# Mark last message read by ambassador **POST /chat/chatrooms/{chatroom}/ambassadors/{ambassador}/read** ## 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 - **chatroom** (integer) The chatroom id - **ambassador** (integer) The ambassador id ## Responses ### 200 Returns the last message read #### Body: application/json (object) - **id_message** (integer) - **date_insert** (string(date-time)) - **author** (object) - **content** (string) - **type_message** (integer) 0: text, 1: picture, 2: rating, 3: product, 4: connection, 5: request, 6: unavailable, 7: video, 8: email, 9: missed - **status_moderation** (integer) ### 401 Unauthorized. #### Body: application/json (object) - **message** (string) ### 403 Forbidden - You don't have permission to access this route ### 404 Not found - The ambassador does not exist ### 422 Unprocessable Content #### Body: application/json (object) - **message** (string) Error message. - **errors** (object) [Powered by Bump.sh](https://bump.sh)