Update webhook trigger
Update a webhook trigger's configuration.
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path parameters
org_id
The organization ID
project_id
The project ID
trigger_id
Request
This endpoint expects an object.
name
A descriptive name for the trigger.
description
Additional details about the trigger's purpose.
status
Lifecycle status for the trigger (draft, disabled, enabled).
auth_config
Authentication configuration (e.g., signature header name).
auth_secret
Secret key for authentication (only shown on creation).
payload_mapping
JSONPath mappings from webhook payload to Task inputs.
include_raw_payload
Whether to include the entire payload as _raw_payload.
idempotency_key_path
JSONPath to extract idempotency key from payload.
idempotency_ttl_seconds
How long to remember processed idempotency keys.
task_agent_revision_id
Optional pinned TaskAgent revision for TaskAgent triggers.
Response
Successful Response
id
Unique identifier for the trigger.
target_type
The target resource type for this trigger.
target_id
The target resource ID for this trigger.
name
A descriptive name for the trigger.
status
Lifecycle status for the trigger (draft, disabled, enabled).
endpoint_id
Unique endpoint identifier used in the webhook URL.
endpoint_url
Full URL for receiving webhook requests.
auth_method
Authentication method for incoming webhooks.
include_raw_payload
Whether to include the entire payload as _raw_payload.
idempotency_ttl_seconds
How long to remember processed idempotency keys.
created
When the trigger was created.
modified
When the trigger was last updated.
created_by_user_id
User who created the trigger.
task_agent_revision_id
Optional pinned TaskAgent revision for TaskAgent triggers.
trigger_type
The type of trigger (webhook for this endpoint).
description
Additional details about the trigger's purpose.
auth_config
Authentication configuration (e.g., signature header name).
payload_mapping
JSONPath mappings from webhook payload to Task inputs.
idempotency_key_path
JSONPath to extract idempotency key from payload.
Errors
400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error
