Get all inline hooks

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
GET /api/configs/inline-hooks

Get all inline hook configurations for the tenant.

Responses

GET /api/configs/inline-hooks
curl \
 --request GET 'https://[tenant_id].logto.app/api/configs/inline-hooks' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "key": "inlineHook.postFirstFactorVerification",
    "value": {
      "script": "string",
      "environmentVariables": {
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      },
      "contextSample": {},
      "enabled": true,
      "onExecutionError": "block"
    }
  }
]