---
title: "Create API Key"
method: POST
path: "/api/hub/api-keys"
tags: ["Settings & Configuration"]
---

# Create API Key

`POST /api/hub/api-keys`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/hub/api-keys`
- Auth: HTTP bearer

Save a new API key for use in workflows.

## Request body

- object
  - `key` string, required: The API key value
  - `name` string: Optional friendly name
  - `provider` string, required: Provider name (e.g., openai, anthropic)

## Response `200`

Successful response

- object
  - `success` boolean
  - `data` object

---

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