---
title: "Create Agent Token"
method: POST
path: "/modules/instances/{instance_id}/agent-tokens"
---

# Create Agent Token

`POST /modules/instances/{instance_id}/agent-tokens`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/modules/instances/{instance_id}/agent-tokens`
- Auth: none declared

Mint an agent token for THIS World-Sim: `{label?, ttl_s?}` (300 s … 1 h). The value is in
this response only; afterwards only its metadata can be listed.

## Path parameters

- `instance_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
