Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Notify workflows waiting for an event

Stores an event for seven days and resumes one matching waiting run when present. Limited to 100 events/hour/workspace and 20 events/minute/event ID.

POST/api/v2/workflows/events/notify
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Request body
requiredapplication/json
eventIdstringrequired
min length 1 · max length 255
dataany

Optional event payload.

Responses
200

Event stored and optional waiting run resumed.

successbooleanrequired
Allowed:true
dataobjectrequired
Show properties
messagestringrequired
Allowed:Event deliveredEvent stored
notifiedRunIdstring | nullrequired
matches ^wfr_[A-Za-z0-9_-]{21}$
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.anlyon.com/api/v2/workflows/events/notify' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "eventId": "string",
  "data": null
}'
Response
{
  "success": true,
  "data": {
    "message": "Event delivered",
    "notifiedRunId": "string"
  }
}