---
title: "Get Permit Inject"
method: GET
path: "/api/v1/booking/permit-inject"
tags: ["booking"]
---

# Get Permit Inject

`GET /api/v1/booking/permit-inject`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/booking/permit-inject`
- Auth: none declared

The injection contract for the permit this site belongs to.

``{"permit_id": int, "recipe": {...}, "script": "..."}`` when the site is a
permit division with a measured recipe; ``recipe`` and ``script`` are NULL
for every other site, which is the signal to fall back to the provider's
own script (the campground calendar) rather than inject nothing.

## Query parameters

- `site_id` string, required: Any site in the permit (a route uses night 1)
- `site_ids` string, nullable: Comma-separated site ids (a route's nights, in order) to resolve starting areas for

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
