---
title: "CORS preflight for creating a lookup"
method: OPTIONS
path: "/lookups"
---

# CORS preflight for creating a lookup

`OPTIONS /lookups`

## Request

- Base URL: `https://whenisbins.com/v1`
- URL: `https://whenisbins.com/v1/lookups`
- Auth: none required

Answers the browser's preflight for `POST /lookups`. The
allow-origin headers are returned only for an approved WhenIsBins
origin; the response is 204 either way, and the absent headers are
what stop a disallowed origin. Server-to-server callers send no
`Origin` and never need this.

## Response `204`

Preflight answered. No body.

## Other responses

- `503`: Required service configuration, a dependency, or shared lookup admission is temporarily unavailable (`service_unavailable`).

---

[API](https://skmtc.dev/whenisbins/apis/whenisbins-uk-bin-collection-api-for-apps-and-ai-agents.md) · [All operations](https://skmtc.dev/whenisbins/apis/whenisbins-uk-bin-collection-api-for-apps-and-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/whenisbins/apis/whenisbins-uk-bin-collection-api-for-apps-and-ai-agents/revisions/6e4a960474a4?raw)
