---
title: "Preflight Web Vitals ingest REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Preflight Web Vitals ingest, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/ingestweb-vitals/options/"
---

# Preflight Web Vitals ingest REST API

OPTIONS

/ingest/web-vitals

FetchcURL

```
const url = 'http://127.0.0.1:25737/ingest/web-vitals';
const options = {method: 'OPTIONS'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request OPTIONS \
  --url http://127.0.0.1:25737/ingest/web-vitals
```

-

CORS preflight for opt-in Web Vitals ingest.

## Responses

### 200

Preflight response

[Previous Ingest Web Vital](https://hitkeep.com/api/operations/ingestweb-vitals/post/)[Next Overview](https://hitkeep.com/api/operations/tags/auth/)
