# Approve a pending send

`needleApprovePendingTask`

Approve a pending send. Optionally replace the generated text first.

**Input**

- `campaignId` (string · uuid, required): Campaign id
- `taskId` (string · uuid, required): Pending task id
- `text` (string, optional)
