User Consents

An event sent on change in User Consents

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.

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.

{
  "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?