---
title: "Mint Owner Link"
method: POST
path: "/api/agents/{agent_id}/owner-link"
tags: ["agent-urls"]
---

# Mint Owner Link

`POST /api/agents/{agent_id}/owner-link`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/owner-link`
- Auth: HTTP bearer

Mints the owner's 24-hour link to a private agent URL.

## Path parameters

- `agent_id` string, required

## Response `201`

Successful Response

- MintedLinkResponse: The only response that carries a link secret, inside ``url``.
  - `id` string, required
  - `url` string, required
  - `expiresAt` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

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