---
title: "Create Pixel"
method: POST
path: "/api/v1/openai-ads/conversions/pixels"
tags: ["openaiAds"]
---

# Create Pixel

`POST /api/v1/openai-ads/conversions/pixels`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/openai-ads/conversions/pixels`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- CreatePixelRequestDTO
  - `account_id` string, required
  - `name` string, nullable

## Response `200`

Successful Response

- OpenAIAdsResponseDTOPixelCreateResultDTO
  - `code` integer
  - `message` string
  - `data` PixelCreateResultDTO, required
    - `pixel` DtoResponseOpenaiAdsResponseDTOPixelDTO, required
      - `id` string, required
      - `pixel_id` string, nullable
      - `name` string, nullable
      - `client_type` string
      - `install_snippet` string, nullable
    - `created` boolean, required
    - `upstream` UpstreamCallDTO[]
      - `method` string, required
      - `path` string, required
      - `idempotency_key` string, nullable
      - `result` string, nullable
      - `error` string, nullable
  - `error_code` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-10-22** `23eb62d854e6`: 1 breaking, 10 info
  - the response property `data/pixel/client_type` became optional for the status `200`
  - api tag `openaiAds` added
  - api tag `openaiAdsOnboarding` removed
  - the `name/anyOf[subschema #1]/` request property's minLength was decreased from `3` to `0`
  - …7 more
- **2026-10-14** `707bf96f76de`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brandbooster/apis/fastapi/changes/api/v1/openai-ads/conversions/pixels/post.md)

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) - [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/fastapi/revisions/8e8c18c2dc35?raw)
