# Get the message preview for a task

### Get the message preview for a task

`GET /api/v1/tasks/{taskId}/message-preview`

Operation ID: `getMessagePreviewForTask`

What a queued task would send to its lead, from the step's current content and account. Nothing is sent or saved. AI steps write the message fresh on every call, from the lead's current profile, posts and conversation, so two calls can differ and each one reads the channel as the sending account.

**Path parameters**

- `taskId` (string · uuid, required): Task id

**200**: The message, or status unavailable with the reason there is none.

- `preview` (object, required)
- `requestId` (string · uuid, required): Id of this request, for support and troubleshooting

**Errors**

- `400`: Bad request
- `401`: Unauthorized: missing or invalid API key
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid request payload
