Skip to main content

Events

pbsAccout.login

Sent when a viewer logs in with a PBS Account using the on-device log in method.

Example payload

{
"event": "pbsAccount.login",
"payload": {
"deviceId": "75ca127e-b8e9-4557-8e17-0547100f4929",
"deviceType": "ROKU",
"viewerId": "4725b8ce-6cb7-4dc7-953b-7dcf82b70151",
"pbsAccountId": "4701b489-29b2-42e3-b942-953bef96fe71",
"firstName": "LSI",
"lastName": "Test",
"emailAddress": "webhook@lsi.test",
"provider": "PBS"
}
}

pbsAccount.ssoLogin

Sent when a viewer logs in with a PBS Account or social provider using the SSO method.

Example payload

{
"event": "pbsAccount.login",
"payload": {
"deviceId": "75ca127e-b8e9-4557-8e17-0547100f4929",
"deviceType": "ROKU",
"viewerId": "4725b8ce-6cb7-4dc7-953b-7dcf82b70151",
"pbsAccountId": "4701b489-29b2-42e3-b942-953bef96fe71",
"firstName": "LSI",
"lastName": "Test",
"emailAddress": "webhook@lsi.test",
"provider": "Facebook"
}
}