---
title: "POST /v1/api-keys/provider-key"
method: POST
path: "/v1/api-keys/provider-key"
tags: ["API Key"]
---

# POST /v1/api-keys/provider-key

`POST /v1/api-keys/provider-key`

## Request body

- CreateProviderKeyRequest
  - `config` RecordStringString, required — Construct a type with a set of properties K of type T
  - `byokEnabled` boolean, required
  - `providerKeyName` string, required
  - `providerSecretKey` string
  - `providerKey` string, required
  - `providerName` string, required

## Response `200`

Ok

- union
  - object
    - `id` string, required
  - object
    - `error` string, required

---

[API](https://skmtc.net/helicone/apis/helicone-api.md) · [All operations](https://skmtc.net/helicone/apis/helicone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helicone/helicone-api/revisions/b369e9e3e80c/schema)
