---
title: "Create or replace the API key (shown once)"
method: POST
path: "/v1/me/api-key"
tags: ["account"]
---

# Create or replace the API key (shown once)

`POST /v1/me/api-key`

## Request

- Base URL: `https://api.lpsignal.app`
- URL: `https://api.lpsignal.app/v1/me/api-key`
- Auth: HTTP bearer

## Request body

- object
  - `replace` boolean: false = only if there is none (409 otherwise); default true

## Response `200`

OK

- object
  - `apiKey` string

## Other responses

- `401`: missing or invalid API key
- `409`: conflict

---

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