List Entities

Paginate the members of a watchlist.

Returns a paginated list of a watchlist's members. The shape of each entity follows the list kind: company lists return name; people lists return first_name / last_name. The total is in meta.pagination.

List entities

GET/api/v2/watchlists/{kind}/{watchlist_id}/entities

Path parameters

ParameterTypeDescription
kindstringWatchlist kind: company or profile (matches the list type).
watchlist_idintegerIdentifier of the watchlist.

Query parameters

ParameterTypeDescription
pageintegerPage number, starting at 1. Defaults to 1.
page_sizeintegerItems per page. Defaults to 25, max 100.
response_formatenumconcise, normalized (default), or detailed.

Example request

curl "https://api.getsillage.com/api/v2/watchlists/company/128/entities?page=1&page_size=25" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"
const response = await fetch(
  'https://api.getsillage.com/api/v2/watchlists/company/128/entities?page=1&page_size=25',
  {
    headers: { Authorization: `Bearer ${process.env.SILLAGE_API_KEY}` },
  },
)

const result = await response.json()
import { request } from 'node:https'

const req = request(
  new URL(
    'https://api.getsillage.com/api/v2/watchlists/company/128/entities?page=1&page_size=25',
  ),
  { headers: { Authorization: `Bearer ${process.env.SILLAGE_API_KEY}` } },
  (res) => {
    let data = ''
    res.on('data', (chunk) => {
      data += chunk
    })
    res.on('end', () => {
      console.log(JSON.parse(data))
    })
  },
)

req.end()
import os
import requests

response = requests.get(
    "https://api.getsillage.com/api/v2/watchlists/company/128/entities",
    params={"page": 1, "page_size": 25},
    headers={"Authorization": f"Bearer {os.environ['SILLAGE_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
result = response.json()

Example response

{
  "data": [
    {
      "id": 901,
      "name": "OpenAI",
      "linkedin_handle": "openai",
      "linkedin_url": "https://www.linkedin.com/company/openai"
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "total": 12
    }
  }
}

Errors

StatusDescription
401The API key is missing or invalid.
404The watchlist does not exist in your workspace.
422Invalid watchlist_id or query parameters.
429Too many requests.

On this page