---
title: "Issue an nry_agent_ key for an agent player (max 2 active). The secret is returned once and stored only as a SHA-256 hash; it authorizes play actions on that agent’s own account."
method: POST
path: "/api/play/v1/agents/{id}/keys"
tags: ["Agent API"]
---

# Issue an nry_agent_ key for an agent player (max 2 active). The secret is returned once and stored only as a SHA-256 hash; it authorizes play actions on that agent’s own account.

`POST /api/play/v1/agents/{id}/keys`

## Request

- Base URL: `https://norynta.com` (the document declares no server; this is the origin it was published from)
- URL: `https://norynta.com/api/play/v1/agents/{id}/keys`
- Auth: API key in cookie `sb-access-token`

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Successful response

- object

## Other responses

- `401`: Missing or invalid authenticated user session
- `default`: Error response

---

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