# Get Messages **GET /api/v1.0/messages** This endpoint fetch the list of recent messages. ## Servers - https://openapi.niftypm.com: https://openapi.niftypm.com () ## Authentication methods - Bearer ## Parameters ### Query parameters - **chat_id** (string) Chat ID - **message_id** (string) Message ID - **task_id** (string) Task ID - **file_id** (string) File ID - **doc_id** (string) Document ID - **entity_key** (string) Entity Key - **limit** (string) No of records per page - **offset** (string) Record Offset - **before_id** (string) Before ID - **after_id** (string) After ID - **before_date** (string) Before Date - **after_date** (string) After Date - **annotation_id** (string) Annotation ID - **type** (string) Type - **useCache** (boolean) Use Cache ## Responses ### 200 Success Response #### Body: application/json (object) - **messages** (array[object]) List of messages - **has_more** (boolean) Has more row flag ### 401 The client request has not been completed because it lacks valid authentication credentials for the requested resource. ### 403 The client does not have access rights to the content. ### 405 The request method is known by the server but is not supported by the target resource. [Powered by Bump.sh](https://bump.sh)