---
title: "Get Pixel Setup"
method: GET
path: "/api/v1/openai-ads/conversions/pixels"
tags: ["openaiAds"]
---

# Get Pixel Setup

`GET /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

The account's pixels (each with its install snippet) and its conversion event settings.

## Query parameters

- `account_id` string, required: Quickads id of the connected ad account

## Response `200`

Successful Response

- DtoResponseOpenaiAdsResponseDTOOpenAIAdsResponseDTOPixelSetupDTO2
  - `code` integer
  - `message` string
  - `data` DtoResponseOpenaiAdsResponseDTOPixelSetupDTO, required
    - `pixels` DtoResponseOpenaiAdsResponseDTOPixelDTO[]
      - `id` string, required
      - `pixel_id` string, nullable
      - `name` string, nullable
      - `client_type` string
      - `install_snippet` string, nullable
    - `event_settings` DtoResponseOpenaiAdsResponseDTOEventSettingDTO[]
      - `id` string, required
      - `name` string, nullable
      - `event_type` string, nullable
      - `custom_event_name` string, nullable
      - `source_ids` string[]
      - `attribution_window_days` integer, nullable
      - `archived` boolean
      - `campaign_count` integer
    - `pixel_event_types` PixelEventTypeDTO[]
      - `value` string, required
      - `label` string, required
  - `error_code` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-10-22** `23eb62d854e6`: 7 breaking, 1 warning, 12 info
  - for the `query` request parameter `account_id`, the minLength was increased from `0` to `1`
  - the response property `data/event_settings` became optional for the status `200`
  - the response property `data/event_settings/items/archived` became optional for the status `200`
  - the response property `data/event_settings/items/campaign_count` became optional for the status `200`
  - …16 more
- **2026-10-14** `707bf96f76de`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brandbooster/apis/fastapi/changes/api/v1/openai-ads/conversions/pixels/get.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)
