Create Hook
Create a new hook for the current account.
Supports schedule, event, and manual trigger types. Returns 422 for invalid cron expressions or unrecognised event names. Returns 409 when the account has reached the maximum hook limit.
Documentation Index
Fetch the complete documentation index at: https://docs.snackbase.dev/llms.txt
Use this file to discover all available pages before exploring further.
Body
Request body for creating a hook (any trigger type).
Human-readable name
1 - 200Trigger that fires on a cron schedule.
- ScheduleTriggerConfig
- EventTriggerConfig
- ManualTriggerConfig
Optional description
Optional rule expression — hook only fires when this evaluates to True
Ordered list of actions to execute
Whether the hook is active on creation
Response
Successful Response
Response schema for a single hook.
Cron expression (schedule triggers only)
Human-readable cron schedule