---
title: "Create Alert"
method: POST
path: "/pixels/{pixel_id}/alerts"
---

# Create Alert

`POST /pixels/{pixel_id}/alerts`

## Path parameters

- `pixel_id` integer, required

## Headers

- `Authorization` string, nullable
- `X-User-Id` string, nullable
- `X-Posthog-Session-Id` string

## Cookies

- `session_id` string, nullable

## Request body

- CreatePixelAlert
  - `url` string, uri, required
  - `country` string, nullable

## Response `200`

Successful Response

- PixelAlertSchema
  - `url` string, uri, required
  - `country` string, nullable
  - `id` integer, required
  - `pixel_id` integer, required
  - `last_checked_at` string, date-time, nullable
  - `is_firing_since` string, date-time, nullable
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/runconverge/apis/fastapi.md) · [All operations](https://skmtc.dev/runconverge/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runconverge/fastapi/revisions/1452e350bd1d/schema)
