# POST /work-orders/:work_order_id/dependencies

**Resource:** [JOB_COSTING](./job-costing.md)  
**MCP tool:** `add_work_order_dependency`  
**Scopes:** `work-orders:write`  
**Write operation:** yes

Say that a work order can only start once another work order on the same job is done (a dependency on the job timeline). Refused when it would make a loop.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `work_order_id` | path | string | yes | The work order that waits (UUID). |
| `depends_on_work_order_id` | body | string | yes | The work order that has to be done first (UUID, from list_work_orders). Must be on the same opportunity. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/work-orders/:work_order_id/dependencies"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"depends_on_work_order_id":"...","require_approval":"..."}'
```

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