---
title: "Verify signed challenge"
method: POST
path: "/api/v2/agent/verify"
tags: ["Registration"]
---

# Verify signed challenge

`POST /api/v2/agent/verify`

## Request

- Base URL: `https://powersun.vip`
- URL: `https://powersun.vip/api/v2/agent/verify`
- Auth: none required

Submit the signed challenge to receive an API key.

## Request body

- object
  - `challengeId` string, required
  - `address` string, required
  - `signature` string, required: Hex-encoded signature from tronWeb.trx.signMessageV2()

## Response `200`

Verification successful

- object
  - `apiKey` string
  - `address` string
  - `message` string

---

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