---
title: "Create a new access key"
method: POST
path: "/accessKeys"
---

# Create a new access key

`POST /accessKeys`

## Request body

- object
  - `name` string
  - `description` string
  - `ttl` integer

## Response `201`

Created access key

- object
  - `accessKey` AccessKey
    - `id` string
    - `name` string
    - `friendlyName` string
    - `description` string
    - `createdBy` string
    - `createdTime` integer
    - `expires` integer
    - `scope` string

---

[API](https://skmtc.dev/dream-horizon-org/apis/dota-api.md) · [All operations](https://skmtc.dev/dream-horizon-org/apis/dota-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dream-horizon-org/dota-api/revisions/b8f48e5c111b/schema)
