User Consents
An event sent on change in User Consents
RabbitMQ Connector
Kafka Connector
REST API
RabbitMQ Message Properties
key | value |
type | USER_CONSENTS_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_CONSENTS_V2 |
⬆️ PUT /v2/integration/user/consents
This message needs to be published whenever there is an update or a change to any of the user consents.
When we receive the message on the integration platform, it will fetch the the latest data from the Operator API (GET /userconsents/:userid) and update user consents accordingly.
Example Payload
Data Types
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 |