---
title: "Create Place List"
method: POST
path: "/place_lists"
tags: ["Place Lists"]
---

# Create Place List

`POST /place_lists`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/place_lists`
- 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/place_lists/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a place list with inline circle places.

Only circle places are supported. API users must provide `latitude`,
`longitude`, and `radius_meters` for each place. `geometry_type` is
returned by the API and must not be supplied by users.

Before creating Place List locations through the API, API users must
accept the sensitive-location attestation by including
`sensitive_location_attestation: true` in the request body. Accepting
this field confirms the following attestation on behalf of the API
user for this request:

```text
I represent and warrant that these locations are not being used to
target or identify individuals at sensitive locations, and that I have
the rights and consents necessary for this targeting, including consent
to share with third parties where required.
```

For guidance on what qualifies as a sensitive location, see
[Places attestation guidelines](https://support.infillion.com/s/article/Places).

Requests submitted without `sensitive_location_attestation`, or with it
set to any value other than `true`, are rejected with a `400`
`invalid-request` error on `/sensitive_location_attestation`. This is a
per-request acknowledgment, not a one-time account-level setting.

The attestation language may be updated over time.

## Request body

- PlaceListCreate
  - `organization_id` integer, required
  - `name` string, required
  - `description` string, nullable
  - `sensitive_location_attestation` true, required: Required and must be `true` for Place List content writes.
  - `places` PlaceCreate[], required: Circle places to create. Within one place list, nonblank external_id values must be unique and circle geometry (latitude, longitude, radius_meters) must be unique after coordinate truncation to four decimal places.
    - `name` string, nullable
    - `external_id` string, nullable
    - `latitude` number, required: JSON number using standard JSON syntax; do not include leading zeroes (use `40.7589`, not `040.7589`).
    - `longitude` number, required: JSON number using standard JSON syntax; do not include leading zeroes (use `-73.9851`, not `-073.9851`).
    - `radius_meters` integer, required

## Response `201`

Place list response

- object
  - `data` PlaceListFull
    - `id` integer
    - `entity_type` string
    - `version` integer
    - `organization_id` integer
    - `name` string
    - `description` string, nullable
    - `filename` string, nullable
    - `content_updated_on` string, date-time, nullable
    - `places_count` integer
    - `strategy_count` integer: Number of strategies currently assigned to this Place List through PLCS geofence targeting.
    - `created_on` string, date-time
    - `updated_on` string, date-time
    - `places` Place[]: Nested places — returned on create/update and single GET responses
      - `id` integer
      - `name` string, nullable
      - `external_id` string, nullable
      - `geometry_type` 'circle': Returned by the API and must not be supplied by users
      - `latitude` number, nullable
      - `longitude` number, nullable
      - `radius_meters` integer, nullable
  - `meta` SingleMetadata
    - `status` string, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: 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)
