# Whisper in writing

`POST https://api.morevoice.ai/v1/calls/{id}/supervise/{supervision_id}/whisper`

Shows the agent a written note from the supervisor (at most 500 characters). The customer never sees or hears it. Needs the supervisor policy's whispers and the role's `supervisor.whisper` (403 `forbidden`).

Authenticate with a secret API key: `Authorization: Bearer $MOREVOICE_API_KEY`.

Operation ID: `calls_send_supervision_whisper`.

## Parameters

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | A call ID (`call_…`). |
| `supervision_id` | `string` | yes | A supervision ID (`sup_…`). |

### Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `MoreVoice-Version` | `string` | no | The API version to use for this request. Defaults to the version the API key is pinned to. |
| `Idempotency-Key` | `string` | no | A unique key (for example a UUID) that makes this request safe to retry: for 24 hours, a retry with the same key and parameters returns the first response instead of acting twice. |

## Request body

Required, `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | `string` | yes | What the agent reads on their screen (at most 500 characters). The customer never sees or hears it. |

Example:

```json
{
  "text": "Offer the annual plan: 10% off is approved."
}
```

## Responses

### 201 Created

The whisper the agent was shown. Returns `SupervisionWhisper`.

| Field | Type | Description |
| --- | --- | --- |
| `object` | `"supervision_whisper"` | — |
| `supervision_id` | `string` | A supervision ID (prefix `sup_`). |
| `call_id` | `string` | A call ID (prefix `call_`). |
| `text` | `string` | What the agent was shown. |
| `sent_at` | `string` | An ISO-8601 timestamp in UTC. |

Example:

```json
{
  "call_id": "call_8tRPaZp5hLMbrGqdJ9AmNa",
  "object": "supervision_whisper",
  "sent_at": "2026-11-23T09:16:02.000Z",
  "supervision_id": "sup_4Kx9QmZ2rTnB7dWc3Lp8Hs",
  "text": "Offer the annual plan: 10% off is approved."
}
```

### 400 Bad Request

The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown. Returns `ErrorEnvelope`.

### 401 Unauthorized

No valid API key was sent. Returns `ErrorEnvelope`.

### 403 Forbidden

The key may not do this (a missing scope, a plan limit, or a compliance block). Returns `ErrorEnvelope`.

### 404 Not Found

No object with this ID (in the path or the body) exists in this organisation and mode. Returns `ErrorEnvelope`.

### 409 Conflict

The request conflicts with the object's state, or the Idempotency-Key was reused with other parameters. Returns `ErrorEnvelope`.

### 413 Payload Too Large

The request body is larger than the endpoint accepts, or has more parts or files than it takes. Returns `ErrorEnvelope`.

### 415 Unsupported Media Type

The request body's Content-Type is not one the endpoint takes. Returns `ErrorEnvelope`.

### 429 Too Many Requests

Too many requests, or no call capacity right now. Retry after the Retry-After delay. Returns `ErrorEnvelope`.

### 500 Internal Server Error

Something went wrong on MoreVoice's side. Retry with the same Idempotency-Key. Returns `ErrorEnvelope`.

## Code samples

**TypeScript**

```ts
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment

const supervisionWhisper = await mv.calls.sendSupervisionWhisper("call_7Hk2Lm9Qp", "sup_7Hk2Lm9Qp", {
	text: "Offer the annual plan: 10% off is approved.",
});
console.log(supervisionWhisper);
```

**Python**

```python
from morevoice import MoreVoice

client = MoreVoice()  # MOREVOICE_API_KEY from the environment

supervision_whisper = client.calls.send_supervision_whisper("call_7Hk2Lm9Qp", "sup_7Hk2Lm9Qp", {
    "text": "Offer the annual plan: 10% off is approved.",
})
print(supervision_whisper)
```

**cURL**

```sh
curl -X POST https://api.morevoice.ai/v1/calls/call_7Hk2Lm9Qp/supervise/sup_7Hk2Lm9Qp/whisper \
  -H "Authorization: Bearer $MOREVOICE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "text": "Offer the annual plan: 10% off is approved."
}'
```
