Rotate Webhook Secret
Issue a new signing secret and return it. This is the only other response that contains the secret, and the previous one stops validating immediately.
Authentication
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
OR
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
Path parameters
org_id
The organization ID
project_id
The project ID
trigger_id
Response
Webhook trigger signing secret rotated
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.
auth_secret
The authentication secret (only shown once on creation or rotation).
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error