# Get recent logs for a hook **GET /api/hooks/{id}/recent-logs** Get recent logs that match the given query for the specified hook with pagination. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the hook. ### Query parameters - **logKey** (string) The log key to filter logs. - **page** (integer) Page number (starts from 1). - **page_size** (integer) Entries per page. ## Responses ### 200 A list of recent logs for the hook. #### Body: application/json (array[object]) - **id** (string) - **key** (string) - **payload** (object) - **createdAt** (number) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden [Powered by Bump.sh](https://bump.sh)