Skip to content

Download Information for a Site List

Request

CSV download of site information for a site list

Security
Auth0(Required scopes: offline_accessmanage:services)
Path
site_list_idintegerrequired

Numeric ID of the site list to get site list assignments

Query
target_typestring

Filter the sites download by a target type

GET
/site_lists/{site_list_id}/download.csv
curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/site_lists/{site_list_id}/download.csv?target_type=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful CSV download.

Headers
Content-Dispositionstring

Indicates that the response should be handled as a file attachment.

Bodytext/csv
string, (binary)
Response
string