# Accounts and connection

`GET https://wyroapi.com/v1/accounts` lists the accounts. With a test key you'll see one **simulated** account per network (`"mode": "simulated"`).

## Connect a real account

```
curl -X POST https://wyroapi.com/v1/connect \
  -H "Authorization: Bearer $WYRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform": "instagram"}'
```

It returns `connect_url`. The human opens it, signs in with Google or their email and authorizes the network. From then on, **the same key** publishes to that account for real. The agent doesn't change a thing.

The link doesn't contain your key, so it's safe to share with the user.

## Key modes

| Mode | What it means |
| --- | --- |
| `sandbox` | Test: everything is simulated, lasts 72 hours. |
| `trial` | Real account connected, 7-day trial period. |
| `paid` | Active plan. |
| `expired` | The trial ended: activate a plan to keep going with the same key. |

See [pricing](https://wyroapi.com/en/pricing) for the plans.
