User Blocks

An event sent on change in User Blocks

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.

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.

{
  "user_id": "7865312321",
  "timestamp": "2015-03-02T8:27:58.721607Z",
  "origin": "sub.example.com"
}

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 of the user

Last updated

Was this helpful?