---
title: "Create API key"
description: "Create a named sk-… API Key. The secret is shown once. Registered Users only. POST /api/v1/me/api-keys on the Verbafy REST API."
canonical: "https://verbafy.io/docs/api/api-keys/create-api-key"
last-updated: "2026-10-04"
---

# Create API key

Create a named sk-… API Key. The secret is shown once. Registered Users only.

`POST /api/v1/me/api-keys`

OpenAPI operation `createApiKey`. Authenticate with a Clerk session JWT (`Authorization: Bearer {jwt}`) or the `verbafy_guest_session` cookie. `{jwt}` is a Clerk session token after you sign in on the website. Verbafy does not issue that token and does not show it in Settings. For scripts and agents, sign in, create an API key at [Settings → API keys](/app/settings/api-keys), and call Remote MCP with `Authorization: Bearer sk-…`. Credential setup: [Auth.md](/auth.md). Machine-readable contract: [OpenAPI](/openapi.json).

## curl

```curl
curl -X POST 'https://verbafy.io/api/v1/me/api-keys' \
  -H 'Authorization: Bearer {jwt}' \
  -H 'Content-Type: application/json' \
  -d '{"name":"local-agent"}'
```

## JavaScript

```javascript
const response = await fetch('https://verbafy.io/api/v1/me/api-keys', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer {jwt}',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"name":"local-agent"})
});
```

## Python

```python
import httpx

response = httpx.post(
    "https://verbafy.io/api/v1/me/api-keys",
    headers={"Authorization":"Bearer {jwt}","Content-Type":"application/json"},
    json={"name":"local-agent"},
)
```

## Responses

| Status | Description |
| --- | --- |
| `201` | Created API key including the secret once |
| `400` | Validation or domain request error |
| `401` | Missing or invalid Clerk Bearer token or guest session |
| `403` | Turnstile, ownership, or permission denied |
| `409` | Conflict with current resource state |

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://verbafy.io/#organization",
      "name": "Verbafy",
      "url": "https://verbafy.io",
      "logo": {
        "@type": "ImageObject",
        "url": "https://verbafy.io/opengraph-image.png"
      },
      "knowsAbout": [
        "YouTube transcription",
        "Spotify episode transcription",
        "Meeting recording transcription",
        "Speaker diarization",
        "Transcript export"
      ],
      "hasOfferCatalog": {
        "@type": "OfferCatalog",
        "@id": "https://verbafy.io/pricing#offers"
      },
      "contactPoint": {
        "@type": "ContactPoint",
        "contactType": "customer support",
        "email": "support@verbafy.io",
        "url": "https://verbafy.io/contact"
      }
    },
    {
      "@type": "WebSite",
      "@id": "https://verbafy.io/#website",
      "url": "https://verbafy.io",
      "name": "Verbafy",
      "inLanguage": "en",
      "publisher": {
        "@id": "https://verbafy.io/#organization"
      }
    },
    {
      "@type": "TechArticle",
      "@id": "https://verbafy.io/docs/api/api-keys/create-api-key#page",
      "name": "Create API key",
      "description": "Create a named sk-… API Key. The secret is shown once. Registered Users only. POST /api/v1/me/api-keys on the Verbafy REST API.",
      "url": "https://verbafy.io/docs/api/api-keys/create-api-key",
      "image": "https://verbafy.io/opengraph-image.png",
      "datePublished": "2026-09-09",
      "dateModified": "2026-10-04",
      "inLanguage": "en",
      "author": {
        "@type": "Organization",
        "@id": "https://verbafy.io/#organization",
        "name": "Verbafy"
      },
      "isPartOf": {
        "@id": "https://verbafy.io/#website"
      },
      "publisher": {
        "@id": "https://verbafy.io/#organization"
      }
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://verbafy.io"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Create API key",
          "item": "https://verbafy.io/docs/api/api-keys/create-api-key"
        }
      ]
    }
  ]
}
```
