Register (or refresh) an event-consumer queue for the calling user. Pass scopes to bind the queue to entities you hold a role on; an EMPTY scopes list requests a GLOBAL queue (all events, including all-user PII) and requires staff/support. Idempotent per binding set.
Observable object types to receive. An explicit empty list means all types; omitting the field leaves an existing consumer's filter unchanged.
scopes
array of objects
Entity bindings this consumer receives events for — e.g. several projects, a customer, an offering, or your own user (type 'user', your own UUID) for identity events. You may only bind to an entity you hold a role on, or to yourself. AN EMPTY LIST MEANS GLOBAL (every event, including all-user PII) and is staff/support only.
scopes.type
string
✓
scopes.uuid
string (uuid)
✓
200 -
Field
Type
Description
rmq_username
string
RabbitMQ username (UUID hex) for STOMP authentication
queue_name
string
RabbitMQ queue name (consumer_{consumer_uuid})
vhost
string
RabbitMQ virtual host (user UUID)
observable_object_types
array of strings
Object types routed to this queue
201 -
Field
Type
Description
rmq_username
string
RabbitMQ username (UUID hex) for STOMP authentication