---
title: "Create My Key"
method: POST
path: "/v1/me/keys"
tags: ["me"]
---

# Create My Key

`POST /v1/me/keys`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/me/keys`
- Auth: none declared

## Cookies

- `ctix_session` string, nullable

## Request body

- ApiKeyCreate
  - `label` string, nullable
  - `user_email` string, nullable

## Response `201`

Successful Response

- ApiKeyResponse
  - `id` string, uuid, required
  - `key` string, required
  - `label` string, nullable
  - `tier` string, required
  - `commercial_use_allowed` boolean
  - `created_at` string, date-time, nullable
  - `example_call` string, nullable: Copy-paste curl against a known-indexed domain (GH #706). Host is taken from EXAMPLE_CALL_DOMAIN (allow-listed); substitute $CERTINDEX_API_KEY.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctindex/apis/certindex-api.md) · [All operations](https://skmtc.dev/ctindex/apis/certindex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ctindex/apis/certindex-api/revisions/d5bc0ec85bc9?raw)
