⬆️ POST /v2/integration/login

This message needs to be published whenever a user makes a login. Try to push it as close as possible to the login taking place in the platform for the best experience.

When we receive the message on the integration platform, it will trigger a user update to make sure the details are up-to-date.

Request

    
{
"user_id": "7865312321",
"is_impersonated": true,
"ip_address": "192.0.2.1",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36",
"timestamp": "2015-03-02T8:27:58.721607Z",
"origin": "sub.example.com"
}

Required fields:

  • user_id

  • timestamp

  • origin