> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Create API key"
description: "Creates a new `holo_xxx` API key for the org. The full key is returned only in this response; it is never stored in plain text."
api: "POST /api/v0/orgs/{orgId}/keys"
---

<Aside full>

<RequestExample>

```bash
curl -X POST "https://api.example.com/api/v0/orgs/<orgId>/keys" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'
```

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"post","path":"/api/v0/orgs/{orgId}/keys","summary":"Create API key","description":"Creates a new `holo_xxx` API key for the org. The full key is returned only in this response; it is never stored in plain text.","parameters":[{"name":"orgId","in":"path","required":true,"description":"Org ULID.","schema":{"type":"string"}}],"requestBody":{"required":true,"contentType":"application/json","schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1}}}},"responses":[{"status":"200","description":"","schema":{"type":"object","required":["id","name","prefix","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"key":{"type":"string","description":"Full `holo_xxx` key. Shown only once at creation."}}}},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

*Powered by [holocron.so](https://holocron.so)*
