---
title: "Mint a one-shot URL the agent hands to its prospective human operator"
method: POST
path: "/v1/agents/attach-pending"
tags: ["accounts"]
---

# Mint a one-shot URL the agent hands to its prospective human operator

`POST /v1/agents/attach-pending`

## Request

- Base URL: `https://alive-api.alphakek.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://alive-api.alphakek.ai/v1/agents/attach-pending`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- CreateAttachPendingResponse
  - `nonce` string, required
  - `link_url` string, required: URL for the human operator. They open it in a browser, sign in via Privy if needed, and click 'link this agent'.
  - `expires_at` string, required
  - `expires_in` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `b6d96e7673dc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alphakek-ai/apis/aikek-api/changes/v1/agents/attach-pending/post.md)

---

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