---
title: "Create Alert"
method: POST
path: "/api/alerts"
tags: ["alerts"]
---

# Create Alert

`POST /api/alerts`

## Request

- Base URL: `https://api.pointifytravels.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pointifytravels.com/api/alerts`
- Auth: none declared

Create a smart fare alert for a route.

## Request body

- CreateAlertRequest
  - `user_id` string, required
  - `origin` string, required
  - `destination` string, required
  - `max_price` number, required
  - `cabin_class` string
  - `notification_email` string, required

## Response `200`

Successful Response

- AlertResponse
  - `id` string, required
  - `user_id` string, required
  - `origin` string, required
  - `destination` string, required
  - `max_price` number, required
  - `cabin_class` string, required
  - `notification_email` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine.md) · [All operations](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/revisions/4350142a4216?raw)
