# POST /agents

**Resource:** [Text Agents](./text-agents.md)  
**Scopes:** `voice-agents:write`  
**Write operation:** yes

Create a text agent. Include "type": "text" and "name" in the request body.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `type` | body | string | yes | Must be "text" |
| `name` | body | string | yes | Agent name |

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`