---
title: "Create a new pixel"
method: POST
path: "/measurement/pixels"
tags: ["Pixels"]
---

# Create a new pixel

`POST /measurement/pixels`

Generates unique identifier for a pixel that is installed on the advertiser's website.

## Request body

- object
  - `measurementPixel` object
    - `crmBrandId` string, required — The ID in your CRM of the advertiser to associate with this pixel. (Must previously have been synced via `POST /crm_brand_syncs`.)
    - `name` string, required — The name of the pixel.

## Response `200`

OK

- object
  - `measurementPixel` Pixel
    - `id` string
    - `name` string
    - `brand` object
      - `crmBrandId` string
      - `name` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Content

---

[API](https://skmtc.net/magellan/apis/magellan-ai-api.md) · [All operations](https://skmtc.net/magellan/apis/magellan-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/magellan/magellan-ai-api/revisions/a5681791212b/schema)
