User Blocks
An event sent on change in User Blocks
RabbitMQ Connector
Kafka Connector
REST API
RabbitMQ Message Properties
key | value |
type | USER_BLOCK_V2 |
The type is expected as a property (but not in the payload) of the RabbitMQ Message. Any header will be ignored.
Kafka Message Headers
key | value |
type | USER_BLOCK_V2 |
⬆️ PUT /v2/integration/user/blocks
This message needs to be published whenever there is an update or change to the user blocks.
When we receive the message on the integration platform, it will fetch the latest data from the Operator API (GET /userblocks/:userid) and update user blocks accordingly.
Example Payload
Data Type
Required properties are marked with *
Key | Example Value | Description |
user_id * | "7865312321" | The unique id of the user |
timestamp * | "2015-03-02T8:27:58.721607Z" | Timestamp of login in RFC3339 format |
origin * | "sub.example.com" | The Origin |