Events
Trigger Event
Fire a custom event for a linked account to start workflows.
POST
Fire a custom event for a linked account. Refold validates the event exists on your default custom app, optionally validates auth on a named app slug, then enqueues the event for asynchronous workflow execution. The call returns synchronously once the event is queued.
Option 2 — Session token
Authentication
This endpoint fires for a specific linked account, so it accepts either authentication method. Option 1 — API keyYour Refold API key.
The linked account the event fires for.
Session token for the linked account.Format:
Bearer YOUR_SESSION_TOKENHeaders
Optional app slug to validate auth against before firing.
Optional config to scope the trigger to.
Optional tag to label the resulting execution.
Body Parameters
The event name to fire. (Either
event or trigger must be provided.)Alias for
event.Arbitrary JSON payload passed to the workflow.
Response
- 200 OK
- 404 Not Found
Confirmation that the event was queued.