# Generate a key

## POST

/v1/key

Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.

## Authorizations

- **[api_key](https://dev.algorand.co/reference/rest-api/kmd/#api_key)**

## Request Body

The list of MIME types the operation can consumeapplication/json

APIV1POSTKeyRequest is the request for `POST /v1/key`

object

**display_mnemonic**

boolean

**wallet_handle_token**

string

## Responses

### 200

Response to `POST /v1/key`

The list of MIME types the operation can produceapplication/json

APIV1POSTKeyResponse is the response to `POST /v1/key`
friendly:GenerateKeyResponse

object

**address**

string

**error**

boolean

**message**

string
