Skip to main content
POST
Register Plugin

Register Plugin

Registers a new webhook-based verification plugin.

Request

id
string
required
Unique plugin identifier
name
string
required
Human-readable plugin name
description
string
Plugin description
level
string
default:"custom"
Verification level: L0, L1, L2, L3, or custom
priority
number
default:"100"
Execution priority (lower runs first)
enabled
boolean
default:"true"
Whether plugin is enabled
continueOnFail
boolean
default:"false"
Whether to continue verification if this plugin fails
options
object
Plugin-specific options
webhookUrl
string
URL to call for verification (required for webhook plugins)
webhookTimeoutMs
number
default:"30000"
Timeout for webhook calls (1000-300000 ms)

Response

Returns the created plugin configuration.

Example Response

Webhook Protocol

When the plugin runs, AgentGate POSTs to your webhook URL:
Your webhook should respond with: