---
title: "Generate a new API key for the current user"
method: POST
path: "/users/me/apikey/"
tags: ["Personal account"]
---

# Generate a new API key for the current user

`POST /users/me/apikey/`

## Request

- Base URL: `https://dashboard.hologram.io/api/1`
- URL: `https://dashboard.hologram.io/api/1/users/me/apikey/`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/hologram/apis/hologram-rest-api-v1/docs/users/me/apikey/post.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

OK

- APIKeyResponse
  - `success` boolean: Indicates whether the request was successful.
  - `data` APIKeyData
    - `apikey` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden — not available in demo mode

---

[API](https://skmtc.dev/hologram/apis/hologram-rest-api-v1.md) - [All operations](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/revisions/69a5b58e05fb?raw)
