# Get inline hook **GET /api/configs/inline-hooks/{hookType}** Get the inline hook configuration for the given hook type. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **hookType** (string) The inline hook type to get. ## Responses ### 200 The inline hook configuration. #### Body: application/json (object) - **script** (string) - **environmentVariables** (object) - **contextSample** (object | null | array[string | number | boolean | null | object] | string | number | boolean) - **enabled** (boolean) - **onExecutionError** (string) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 The inline hook configuration does not exist. [Powered by Bump.sh](https://bump.sh)