This method returns user’s current consents for the broadcaster, with their status and the version that they agreed to.


Name Type Description
publisherToken string Your publisher token
customerEmail string Customer's email

- required parameter

Response Parameters:

Name Type Description
terms object Terms and conditions
privacy object Pesonal data storage policy
broadcaster_terms object Terms and conditions set by broadcaster
broadcaster_marketing object Marketing agreements set by broadcaster

Error Codes:

Code Description
3 Invalid publisher token
10 User customerEmail does not exist
23 User does not exist


    "method": "getViewerConsents",
    "params": {
        "publisherToken": "bD2TVNJYH1WTAErQVcpjlHk7fmAKZzIK0rKKtp5TdMg0RmIg",
        "customerEmail": ""
    "jsonrpc": "2.0",
    "id": 1


    "result": {
        "terms": {
            "userId": 123456789,
            "name": "terms",
            "state": "accepted",
            "version": "1",
            "date": 1525857061,
            "needsUpdate": false
        "broadcaster_marketing": {
            "userId": 123456789,
            "name": "broadcaster_marketing",
            "state": "accepted",
            "version": "1.7",
            "date": 1525857443,
            "needsUpdate": false
    "id": "1",
    "jsonrpc": "2.0"

Remember! you can always check it by yourself using API Console - getViewerConsents()

Back to Customer API

We use cookies to ensure that we provide you the best service and website experience. Read our Cookie policy for more details.