---
title: "Get Site List"
method: GET
path: "/site_lists/{site_list_id}"
tags: ["Site Lists"]
---

# Get Site List

`GET /site_lists/{site_list_id}`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/site_lists/{site_list_id}`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/site_lists/:site_list_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a site list by ID

## Path parameters

- `site_list_id` integer, required

## Response `200`

Site list response

- object
  - `data` SiteListFull
    - `id` integer
    - `version` integer
    - `status` boolean
    - `organization_id` integer
    - `name` string
    - `restriction` 'INCLUDE' | 'EXCLUDE'
    - `filename` string, nullable
    - `content_updated_on` string, date-time
    - `sites_count` integer, nullable
    - `sites_count_domain` integer, nullable
    - `sites_count_app` integer, nullable
    - `sites_count_primary_seller_id` integer, nullable
    - `created_on` string, date-time
    - `updated_on` string, date-time
  - `meta` SingleMetadata
    - `status` string, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
