Create an agent trigger
Create a schedule or webhook trigger.
POST
cURL
What does each trigger type need?
What does each trigger type need?
A schedule takes exactly one of
cron_expression (recurring, five-field cron) or run_at (one time, ISO 8601). timezone defaults to the caller’s profile timezone. A webhook takes prompt and returns webhook_url in this response only; the URL embeds the trigger’s secret, so store it or fetch it again from the reveal endpoint.Connector-event triggers and agent-built triggers cannot be created here. Team API keys are not accepted: a trigger runs later on the creating member’s credentials.Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.
Body
application/json