---
title: "Create or update an agent's AgentTax Network profile"
method: POST
path: "/api/v1/network"
tags: ["Network"]
---

# Create or update an agent's AgentTax Network profile

`POST /api/v1/network`

## Request

- Base URL: `https://www.agenttax.io`
- URL: `https://www.agenttax.io/api/v1/network`
- Auth: HTTP bearer

Upserts a network profile keyed on agent_id. IDOR-safe — the supplied agent_id must be owned by the authenticated entity. Public profiles surface in /api/v1/network-directory; private profiles are visible only to the owner.

## Request body

- NetworkProfileRequest
  - `agent_id` string, required
  - `entity_name` string, required
  - `entity_state` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'DC', required: Two-letter US state code.
  - `visibility` 'public' | 'private'
  - `description` string
  - `work_type` 'compute' | 'research' | 'information_service' | 'content' | 'consulting' | 'trading' | 'payment_processing' | 'web_hosting' | 'software_maintenance' | 'it_support' | 'custom_software'
  - `principal` NetworkPrincipal
    - `legal_name` string
    - `entity_type` string
    - `state_of_incorporation` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY' | 'DC'
    - `ein_last4` string: Last 4 digits of EIN.
    - `contact_email` string, email
    - `is_business` boolean

## Response `200`

Profile created or updated.

## Other responses

- `400`: Validation failure
- `401`: Authentication required.
- `404`: Agent not found or not owned by caller.

---

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