Subscriptions and waits
Create a wait
POST
/v1/waitsWaits for one correlated event, up to a deadline. If it doesn't arrive, the inbox gets an ensue.wait.missed notice unless on_timeout is none.
Parameters
Body parameters9
sourcestringRequiredSource ID or name.
inboxstringRequiredInbox ID or name.
correlationstringRequiredThe value the event carries at the source's correlate path.
within?integerSeconds to wait. Pass this or until.
until?stringISO time to wait until.
match?objectExtra conditions.
on_timeout?stringmissed (default) or none.
deliver_after?stringHold matching events until then.
label?stringYour own task ID.
Returns
201The sample response is on the right.Errors return error and message; see Errors and limits.