Agent inboxes

Pull events

GET/v1/agent/inbox/:id/next

Leases up to 10 events and long-polls up to 30 seconds. With ack=manual, close each lease with Ack, Release or Extend.

Parameters

Path parameters1
idstringRequired

Destination ID (dst_…).

Query parameters8
order?string

fifo, lifo or priority.

ack?string

manual or pickup.

max?integer

1 to 10.

wait?integer

Seconds to wait for an event, up to 30.

type?string

Only this event type.

source?string

Only this source.

subscription?string

Only this subscription.

correlation?string

Only this correlation value.

Returns

200The sample response is on the right.Errors return error and message; see Errors and limits.