# Get hook **GET /api/hooks/{id}** Get hook details by ID. ## 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 - **includeExecutionStats** (string) Whether to include execution stats in the response. ## Responses ### 200: Details of the hook. #### Body Parameters: application/json (object) - **tenantId** (string) - **id** (string) - **name** (string) - **event** (string | null) - **events** (array[string]) - **config** (object) - **signingKey** (string) - **enabled** (boolean) - **createdAt** (number) - **executionStats** (object) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found [Powered by Bump.sh](https://bump.sh)