---
title: "Create API key"
method: POST
path: "/api-key/create"
tags: ["API Keys"]
---

# Create API key

`POST /api-key/create`

Create a service-to-service API key for a merchant.

## Request body

- CreateApiKeyRequest
  - `merchant_id` string, required
  - `description` string, nullable

## Response `200`

Created API key

- CreateApiKeyResponse
  - `key_id` string
  - `api_key` string
  - `key_prefix` string
  - `merchant_id` string
  - `description` string, nullable
  - `created_at` string

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
