# POST /approvals/:id/assign

**Resource:** [Approvals](./approvals.md)  
**Scopes:** `approvals:reassign`  
**Write operation:** yes

Reassign the primary or secondary reviewer for a pending approval. Useful for routing approvals to the right team member. Only works on approvals with status "pending". Requires the approvals:reassign scope.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | string | yes | Approval UUID |
| `primary_assignee_id` | body | string | yes | User UUID of the new primary reviewer. Must be a member of the company. |
| `secondary_assignee_id` | body | string | no | User UUID of secondary reviewer. Pass null to clear. Must be a member of the company if provided. |

## Request example

```bash
{ "primary_assignee_id": "user-uuid", "secondary_assignee_id": null }
```

## Response example

```json
{ "id": "f1a2b3c4-...", "primary_assignee_id": "user-uuid", "secondary_assignee_id": null, "status": "pending", "success": true }
```

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