---
title: "POST /api/agent-claim/confirm"
method: POST
path: "/api/agent-claim/confirm"
tags: ["Agent Claim"]
---

# POST /api/agent-claim/confirm

`POST /api/agent-claim/confirm`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/agent-claim/confirm`
- Auth: HTTP bearer

## Request body

- object
  - `user_code` string, required: The code the agent showed; case and separators are ignored.
  - `write_scopes` string[]: Write scopes the person ticked; only those the agent requested are granted.

## Response `200`

Successful response

- object
  - `ok` true, required
  - `registration_id` string, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
