---
title: "add apikey"
method: POST
path: "/answer/admin/api/api-key"
tags: ["admin"]
---

# add apikey

`POST /answer/admin/api/api-key`

add apikey

## Request body

- SchemaAddAPIKeyReq
  - `description` string, required
  - `scope` 'read-only' | 'global', required

## Response `200`

OK

- object
  - `code` integer — http code
  - `data` object — response data
    - `access_key` string
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/versions/e9c2980e6571/schema)
