updatedAt: 2026-12-01

# Agent API endpoints

Self-signup and the account endpoints for agents: balances, vouchers, bookings, trips, route monitors and alerts.

The agent API is for AI agents and apps that manage a traveller's account: it creates accounts, and reads and writes balances, vouchers, bookings, trips, route monitors and alerts. Every endpoint except registration needs an API key. Endpoints marked Premium in their description need a Premium plan.

Paths below are relative to `https://awardtravelfinder.com/api/v1`. In the Parameters column, `*` marks a required field and `{id}` is a record ID. Send request bodies as JSON.

## Register an agent

`POST /agent/register` creates a free account and returns an API key. It is the one endpoint that needs no key. Send an `Idempotency-Key` header, or a `registration_key` field of at least 16 characters, that you store once. Repeating the call with it returns the same account.

```bash
curl -X POST "https://awardtravelfinder.com/api/v1/agent/register" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: YOUR_STORED_SECRET" \
  -d '{"operator_email":"operator@example.com","agent_name":"my-agent"}'
```

```javascript
const response = await fetch("https://awardtravelfinder.com/api/v1/agent/register", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Idempotency-Key": "YOUR_STORED_SECRET"
  },
  body: JSON.stringify({"operator_email":"operator@example.com","agent_name":"my-agent"})
});
const result = await response.json();
```

```python
import requests

response = requests.post("https://awardtravelfinder.com/api/v1/agent/register", headers={"Content-Type": "application/json", "Idempotency-Key": "YOUR_STORED_SECRET"}, json={"operator_email":"operator@example.com","agent_name":"my-agent"})
result = response.json()
```

The response includes your `api_key`, the REST `base_url`, the MCP endpoint details and your current `usage`. The key is for REST only.

## Register

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/register` | Create a free agent account and receive an API key. No key needed. | `operator_email`, `agent_name`, `registration_key` |

## Hotel bookings

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/hotel_bookings/{id}/check_now` | Check the current price of a hotel booking now. | None |
| `GET` | `/agent/hotel_bookings` | List hotel bookings. | None |
| `POST` | `/agent/hotel_bookings` | Record a hotel booking. | `hotel_id`*, `check_in_date`*, `check_out_date`*, `original_points`, `original_pay_rate`, `original_pay_rate_usd`, `room_type`, `rate_plan`, `confirmation_number`, `monitoring_enabled`, `notes`, `kind`, `cash_rate_currency`, `trip_id`, `refundable`, `cancellation_deadline`, `deduct_points_from_balance` |
| `GET` | `/agent/hotel_bookings/{id}` | Get one hotel booking with its price snapshots. | None |
| `PATCH` | `/agent/hotel_bookings/{id}` | Update a hotel booking. | `hotel_id`, `check_in_date`, `check_out_date`, `original_points`, `original_pay_rate`, `original_pay_rate_usd`, `room_type`, `rate_plan`, `confirmation_number`, `monitoring_enabled`, `notes`, `kind`, `cash_rate_currency`, `trip_id`, `refundable`, `cancellation_deadline`, `deduct_points_from_balance` |
| `DELETE` | `/agent/hotel_bookings/{id}` | Delete a hotel booking. | None |

## Flight redemptions

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/flight_redemptions` | List flight redemptions. | None |
| `POST` | `/agent/flight_redemptions` | Record a flight redemption. points_spent and program are required when kind is award, the default. | `airline`*, `flight_number`, `origin`*, `destination`*, `departure_date`*, `return_date`, `cabin_class`, `points_spent`*, `program`*, `taxes_paid`, `taxes_currency`, `passengers`, `confirmation_number`, `notes`, `trip_id`, `workspace_trip_id`, `kind`, `cash_paid`, `deduct_points_from_balance` |
| `GET` | `/agent/flight_redemptions/{id}` | Get one flight redemption. | None |
| `PATCH` | `/agent/flight_redemptions/{id}` | Update a flight redemption. | `airline`, `flight_number`, `origin`, `destination`, `departure_date`, `return_date`, `cabin_class`, `points_spent`, `program`, `taxes_paid`, `taxes_currency`, `passengers`, `confirmation_number`, `notes`, `trip_id`, `workspace_trip_id`, `kind`, `cash_paid`, `deduct_points_from_balance` |
| `DELETE` | `/agent/flight_redemptions/{id}` | Delete a flight redemption. | None |

## Voucher types

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/voucher_types` | List voucher types. | `region`, `category` |

## User vouchers

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/user_vouchers/{id}/apply` | Apply a voucher to a booking. Omit booking_id to detach it. | `booking_type`, `booking_id` |
| `GET` | `/agent/user_vouchers` | List the vouchers you hold. | None |
| `POST` | `/agent/user_vouchers` | Add a voucher. | `voucher_slug`*, `expires_on`, `reference`, `notes` |
| `PATCH` | `/agent/user_vouchers/{id}` | Update a voucher. | `expires_on`, `reference`, `notes`, `status` |
| `DELETE` | `/agent/user_vouchers/{id}` | Delete a voucher. | None |

## Points balances

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/points_balances/upsert` | Create or update the balance for one programme. | `program`*, `balance`*, `expires_on`, `member` |
| `DELETE` | `/agent/points_balances/remove` | Remove the balance for one programme. | `program`*, `member` |
| `GET` | `/agent/points_balances` | List points balances. When the user has household members, the list includes their balances too: use holder or household_member_id before you add balances up. | `member` |

## Lounge visits

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/lounge_visits` | List lounge visits. | None |
| `POST` | `/agent/lounge_visits` | Log a lounge visit. | `airport_code`*, `lounge_name`*, `visit_date`*, `access_method`, `rating`, `notes` |
| `DELETE` | `/agent/lounge_visits/{id}` | Delete a lounge visit. | None |

## Portfolio

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/portfolio/summary` | Portfolio summary: balances, cards, bookings. | None |

## Quota

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/quota` | Remaining calls, tier and reset date for the API key. | None |

## Refresh

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/refresh` | Ask for stored results on one route to be rechecked and see where each recheck stands. Repeating the call only reports status. | `departure_code`*, `arrival_code`*, `date`*, `airlines`, `wait` |

## Prompt templates

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/prompt_templates` | List the prompt library: curated templates and your own. | None |
| `POST` | `/agent/prompt_templates` | Save a prompt template. Use {name} tokens for variables. Premium. | `title`*, `body`*, `category`, `tags`, `shared` |
| `PATCH` | `/agent/prompt_templates/{id}` | Update one of your prompt templates. Premium. | `title`, `body`, `category`, `tags`, `shared` |
| `DELETE` | `/agent/prompt_templates/{id}` | Delete one of your prompt templates. Premium. | None |

## Card wallet

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/card_wallet` | My cards summary: annual fees, fees due soon, value used against fees, Chase 5/24 and each card's credits. | None |

## Card credit uses

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/card_credit_uses` | List card credit uses for a year. | `year` |
| `POST` | `/agent/card_credit_uses` | Log one use of a card credit, for example a $15 Uber credit. | `card_id`*, `label`*, `amount`*, `used_on` |
| `DELETE` | `/agent/card_credit_uses/{id}` | Remove a logged credit use. | None |

## Documents

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/documents` | List the documents you uploaded for your agent to read. Premium. | None |
| `DELETE` | `/agent/documents/{id}` | Delete an uploaded document and its search data. Premium. | None |

## Upgrades

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `POST` | `/agent/upgrades/watch` | Watch a booking for award space in the next cabin up. Premium. | `flight_redemption_id`* |
| `GET` | `/agent/upgrades` | Upcoming bookings that can move up a cabin, with matching upgrade vouchers and watch status. | None |

## Points audits

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/points_audits` | List missing points checks. Premium adds the flagged purchases. | None |
| `DELETE` | `/agent/points_audits/{id}` | Delete a missing points check. | None |

## Trips

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `PATCH` | `/agent/trips/{id}/archive` | Archive a trip. Its bookings and monitors are kept. | None |
| `GET` | `/agent/trips` | List trips. Filter with status: active, archived, planning, booked or completed. | `status` |
| `POST` | `/agent/trips` | Create a trip. Free accounts can have one active trip. | `name`*, `destination`, `start_date`, `end_date` |
| `GET` | `/agent/trips/{id}` | Get one trip with its itinerary sections. | None |
| `DELETE` | `/agent/trips/{id}` | Delete a trip for good. Anything filed under it is kept and unfiled. | None |

## Route monitors

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/route_monitors` | List route monitors. | `status` |
| `POST` | `/agent/route_monitors` | Watch a route for award seats. Checked at least once a day. The plan limits active monitors. | `origin`*, `destination`*, `earliest_date`*, `latest_date`*, `cabin`, `passengers`, `max_points` |
| `PATCH` | `/agent/route_monitors/{id}` | Change a route monitor, or pause or resume it with status active or paused. | `cabin`, `earliest_date`, `latest_date`, `passengers`, `max_points`, `status` |
| `DELETE` | `/agent/route_monitors/{id}` | Cancel a route monitor. The record is kept for history. | None |

## Delay alerts

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/delay_alerts` | List airport delay alerts. Premium. | None |
| `POST` | `/agent/delay_alerts` | Alert me when delays at an airport reach a minimum. Premium. | `airport`*, `channels`, `phone_number`, `min_delay_minutes`, `label` |
| `PATCH` | `/agent/delay_alerts/{id}` | Change a delay alert, or pause it with active false. Premium. | `airport`, `channels`, `phone_number`, `min_delay_minutes`, `label`, `active` |
| `DELETE` | `/agent/delay_alerts/{id}` | Delete a delay alert. Premium. | None |

## Me

| Method | Path | Description | Parameters |
| --- | --- | --- | --- |
| `GET` | `/agent/me` | Identify the account behind the API key. | None |
