---
title: "Generate the list"
method: POST
path: "/api/v2/packing-lists/{externalId}/generate"
tags: ["Packing lists (v2)"]
---

# Generate the list

`POST /api/v2/packing-lists/{externalId}/generate`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v2/packing-lists/{externalId}/generate`
- Auth: HTTP bearer

The results step's generation: the free monthly quota is asked first (403 `quota_exceeded` with the wizard's
text), the list is built from the stored inputs and picks, the caller's own earlier changes are laid over
it, and the list is stored finished. Generating again on a finished list rebuilds it the same way.

## Response `200`

- object
  - `external_id` string
  - `status` string
  - `remaining_generations` integer
  - `groups` object[]
    - `name` string
    - `items` unknown[]
      - unknown

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `403`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
