Subscriptions and waits
Create a subscription
POST
/v1/agent/subscriptionsSubscribes an inbox to events from a source, matched when the event arrives.
Parameters
Body parameters9
sourcestringRequiredSource ID or name.
inboxstringRequiredInbox ID or name.
ttlintegerRequiredSeconds until it expires. At most 30 days.
filter?objectConditions an event must match.
correlation?stringMatch only events carrying this value.
once?booleanStop after the first match.
max_events?integerStop after this many matches.
transform?stringA transform for the view.
label?stringYour own task ID.
Returns
201The sample response is on the right.Errors return error and message; see Errors and limits.