---
title: "Approve pending registration"
method: POST
path: "/api/agent/approve"
tags: ["Registration"]
---

# Approve pending registration

`POST /api/agent/approve`

Flow A step 2. Requires authenticated tenant owner session (dashboard auth), not agent API key.

## Request body

- ApproveAgentRequest
  - `pending_id` string, required

## Response `200`

Approved and API key issued

- ApproveAgentResponse
  - `agent_id` string, uuid, required
  - `agent_api_key` string, required
  - `status` 'active', required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `410` — Pending registration expired or not found
- `500` — Internal server error

## Changes

> 28 revisions in range; 1 could not be searched.

- **2026-03-01** `2df2182b5901` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/citedy/apis/citedy-agent-api/changes/api/agent/approve/post.md)

---

[API](https://skmtc.dev/citedy/apis/citedy-agent-api.md) · [All operations](https://skmtc.dev/citedy/apis/citedy-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/citedy/citedy-agent-api/revisions/b5785d3fe446/schema)
