# Generating a new mnemonic

You can generate new mnemonic phrases to create a BIP39 wallet, such as a Hycon wallet. You can pass it as a parameter to `/generateWallet` and `/recoverWallet`. Please check *Appendix > Language Support* for a list of supported languages. `language` is not case-sensitive.

**Path Parameter**

| Parameter  | Type   | Required | Description                        |
| ---------- | ------ | -------- | ---------------------------------- |
| `language` | string | Yes      | Language to generate mnemonic with |

Please check *Appendix > Language Support* for a list of supported languages. `language` is not case-sensitive.

**Response - `text/plain`**

| Parameter  | Type   | Description                                                     |
| ---------- | ------ | --------------------------------------------------------------- |
| `mnemonic` | string | A 12- to 24-word BIP39 phrase to seed your wallet's private key |

GET/api/v1/getMnemonic/{language}

**Example request**

```
$ curl -X GET http://localhost:2442/api/v1/getMnemonic/korean \
    -H 'Content-Type: application/json;charset=utf-8'
```

**Response (Success)**

```
"찻잔 역사 조건 나흘 별명 조상 현금 태풍 사업 업종 대규모 유형"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://teamhycon.gitbook.io/docs/api-v1-1/miscellaneous-tools/generating-a-new-mnemonic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
