---
title: "Create or update the KPI for one conversion filter"
method: PUT
path: "/app/projects/{project}/kpis"
tags: ["App Project"]
---

# Create or update the KPI for one conversion filter

`PUT /app/projects/{project}/kpis`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/projects/{project}/kpis`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/projects/:project/kpis/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `project` integer, required

## Request body

- object
  - `conversion_filter` string, required
  - `target_leads` integer, nullable
  - `target_cpl` number, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
