> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Connector

> Create a connector (agent API key) for an agentic wallet

**Authorization** `string` *required*

Bearer token: `Bearer YOUR_ACCESS_TOKEN`

**walletId** `string` *required*

The wallet to add a connector to. The wallet must be active.

**connector\_type** `string` *required*

One of `anthropic`, `openai`, `polymarket`, `kalshi`, `openclaw`, `custom`.

**name** `string`

Human-readable name, e.g. "Claude Agent". Defaults to the connector type.

**description** `string`

Optional description.

**allowed\_capabilities** `string[]` (default: \["transfer"])

What the agent may do: `transfer`, `x402`, `prediction_market`.

**max\_per\_transaction** `number`

Max USD per transaction. Can't exceed `max_daily_amount`.

**max\_daily\_amount** `number`

Max USD per day. Can't exceed `max_monthly_amount`.

**max\_monthly\_amount** `number`

Max USD per month.

**allowed\_assets** `string[]`

Restrict to these assets. Empty allows all.

**allowed\_chains** `string[]`

Restrict to these chains. Empty allows all.

**allowed\_ips** `string[]`

Only accept agent requests from these IPs.

**allowed\_domains** `string[]`

Only accept agent requests from these domains.

**webhook\_url** `string`

Receive this connector's events. A webhook secret is returned once when set.

**prediction\_market\_config** `object`

Limits for the `prediction_market` capability: `max_position_usd` (largest trade), `allowed_categories` and `allowed_providers` (empty allows all).

```bash theme={null}
curl -X POST 'https://crypto-api.yativo.com/api/v1/agentic-wallets/aw_01abc123/connectors' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "connector_type": "anthropic",
    "name": "Claude Agent",
    "allowed_capabilities": ["transfer", "prediction_market"],
    "max_per_transaction": 50,
    "max_daily_amount": 500,
    "max_monthly_amount": 5000,
    "prediction_market_config": { "max_position_usd": 25 }
  }'
```

```json theme={null}
{
  "success": true,
  "data": {
    "connector_id": "6650c3d4e5f6a7b8c9d0e1f2",
    "connector_type": "anthropic",
    "name": "Claude Agent",
    "api_key": "yac_a1b2c3d4e5f6...",
    "webhook_secret": null,
    "allowed_ips": [],
    "allowed_domains": [],
    "max_per_transaction": 50,
    "max_daily_amount": 500,
    "max_monthly_amount": 5000,
    "allowed_capabilities": ["transfer", "prediction_market"],
    "prediction_market_config": { "max_position_usd": 25, "allowed_categories": [], "allowed_providers": [] }
  }
}
```

> [!WARNING]
>
> The `api_key` is shown **only once**. Store it securely. If lost, revoke the connector and create a new one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.