> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/websocket-references/authentication/generate-listen-key.md).

# Generate Listen Key

If the account has an active Listen Key, that Listen Key will be returned and its validity will be extended for 60 minutes.

<mark style="color:green;">`POST`</mark> `/auth/v1/listen-key`

**Headers**

| Name         | Value                               |
| ------------ | ----------------------------------- |
| Content-Type | `application/x-www-form-urlencoded` |
| X-MBX-APIKEY | \<User API Key>                     |

**Body**

**-**

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "listenKey": "<THIS_IS_THE_LISTEN_KEY>",
  "expiredAt": "<FUTURE_TIME_IN_RFC3339_NANO>"
}
```

{% endtab %}
{% endtabs %}

**WARNING: DO NOT SHARE YOUR LISTEN KEY WITH ANYONE.**
