---
title: "Declare the authenticated account an agent"
method: PUT
path: "/api/v2/accounts/agent"
tags: ["Account Endpoints"]
---

# Declare the authenticated account an agent

`PUT /api/v2/accounts/agent`

## Request

- Base URL: `https://api.opensea.io`
- URL: `https://api.opensea.io/api/v2/accounts/agent`
- Auth: API key in header `x-api-key` and OpenID Connect (`https://auth.opensea.io/.well-known/openid-configuration`, scopes: `write:wallets`)
- TypeScript: <https://skmtc.dev/opensea/apis/opensea-api/docs/api/v2/accounts/agent/put.ts> (a function with typed inputs; its response is checked against the schema)

Self-reported and not OpenSea verification. Independent of ownership: an agent nobody owns is valid.

## Response `200`

OK

- AgentAccountStatusResponse
  - `changed` boolean, required
  - `is_agent` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

## Changes

- **2026-11-03** `2c7935d84f90`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opensea/apis/opensea-api/changes/api/v2/accounts/agent/put.md)

---

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