---
title: "Save Api Key"
method: POST
path: "/api-keys"
tags: ["models"]
---

# Save Api Key

`POST /api-keys`

Save API key for a provider.

## Headers

- `authorization` string, nullable

## Request body

- SaveApiKeyRequest — Request to save API keys.
  - `provider` string, required
  - `api_key` string, required
  - `base_url` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.net/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/2d9291c3821d/schema)
