You can now trigger your Den agents via API. This means your app can call Den, run an agent, and get results back - all programmatically.

## Why this matters

Until now, agents could run on a schedule or be triggered manually. With API access, your agents become infrastructure you can build on top of.

## Use cases

- **Form submissions** \- User fills out a form → your agent processes it
- **Customer support** \- New ticket arrives → agent drafts a response
- **Data processing** \- Webhook from Stripe → agent updates your CRM
- **Content workflows** \- New blog published → agent distributes to social
- **Scheduled reports** \- Cron job → agent generates daily analytics

## How it works

1. Go to **Workspace Settings → API Keys**  
2. Create a new key (save it - shown only once!)  
3. Call your agent:
   
   ```
   curl -X POST https://app.getden.io/api/agent/trigger/{agent-id} \
     -H "x-api-key: den_k1_your_key_here" \
     -H "Content-Type: application/json" \
     -d '{"message": "Process this order"}'
   ```

The API returns a `workflowRunId` and `chatId` so you can track the run.

## Connect to 5,000+ apps

Since it's a standard webhook, you can connect Den to Zapier, Make, n8n, or any tool that supports HTTP requests. Your agents just became composable.

## Available now

API access is available on Pro ($20/mo), Max ($200/mo), and Enterprise plans.
