Event sources
Create event source
Creates an external event source. Two kinds:
- Connected-app trigger (default): deploys a third-party trigger. The account must have previously connected the underlying app (Gmail, Slack, Calendar, etc.) at /integrations. Use
GET /event_sources/available?app=...to discover thevendor_component_idvalues.configured_propscarries only that trigger’s own settings (label, sheet, channel, filters) — the connected account it runs as is resolved automatically from the linked app, and the deploy fails with a message naming the app if none is connected. - Inbound webhook (
vendor: "webhook"): a Crevio-hosted URL any service (Typeform, Stripe, GitHub, Zapier, a custom script) can POST JSON to.event_nameis a short name (e.g.typeform_applications); the source’sevent_namebecomeswebhook.<name>. The response’sinbound_urlcarries an unguessable token and is the credential — treat it as a secret. Setsignature_required: trueto also require an HMAC-SHA256 signature (X-Hub-Signature-256,Typeform-Signature,X-Signature, or Standard Webhooks headers); the signing secret is shown only to the account’s admins in the Crevio app, never over the API. Unknown or inactive URLs answer 404; bodies over 1 MB answer 413.
Once active, every delivery fires external.<event_name> and any AiTask with trigger_type: "event" + matching event_conditions.event_type runs with the delivered payload as event.data.
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Maximum string length:
255Body
application/json
Response
Event source created
Available options:
pipedream, composio, webhook 
