JavaScript
Triggers
Create a new trigger
Creates a new trigger for a workflow version. Requires secret key authentication.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.triglit.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Chave de API do tenant (publishable key ou secret key)
Headers
Chave de API do tenant (publishable key ou secret key)
Body
application/json
Response
Trigger created successfully
Unique trigger identifier
Example:
"trg_abc123def456"
Tenant identifier
Example:
"tenant_123"
Workflow version identifier
Example:
"wfv_abc123def456"
Trigger name
Example:
"User Registration Webhook"
Trigger type
Available options:
schedule, webhook Example:
"webhook"
Trigger configuration
Whether the trigger is active
Example:
true
Creation timestamp
Example:
"2024-01-15T10:30:00.000Z"
Last update timestamp
Example:
"2024-01-15T10:30:00.000Z"
Sub-tenant identifier
Example:
"sub_tenant_456"

