Creating Site Lists

Creating a list of sites in Brandwatch Consumer Research.

The below call will create a Site List called "News Sites" in the Project with ID 1998189791. This Site List will be shared with this project only (sharedProjectIds), but can be edited by anyone (shared):

curl -X POST \
  'https://api.brandwatch.com/projects/1998189791/group/site/' \
  -H 'content-type: application/json' \
  -d '{"domains":["thehill.com","www.boston.com","edition.cnn.com","www.bostonglobe.com","www.theblaze.com","www.msnbc.com","www.huffingtonpost.com","www.theatlantic.com","www.reuters.com","mic.com","www.chicagotribune.com","www.theverge.com","www.bbc.com/news","www.cnbc.com","www.ap.org","www.salon.com","www.nypost.com"],"sharedProjectIds":[1998189791],"name":"News Sites","shared":"public"}'

The response will be similar to the following:

{
    "id": 192667382,
    "name": "News Sites",
    "shared": "public",
    "sharedProjectIds": [
        1998189791
    ],
    "domains": [
        "www.bbc.com/news",
        "www.reuters.com",
        "www.salon.com",
        "mic.com",
        "www.boston.com",
        "www.cnbc.com",
        "www.theblaze.com",
        "www.huffingtonpost.com",
        "edition.cnn.com",
        "www.nypost.com",
        "thehill.com",
        "www.theverge.com",
        "www.ap.org",
        "www.theatlantic.com",
        "www.chicagotribune.com",
        "www.bostonglobe.com",
        "www.msnbc.com"
    ],
    "userId": 117025679,
    "userName": "[email protected]"
}