---
title: "Latest Voice AI questionnaire checklist for a single contact"
description: "Returns the most recent Voice AI confirmation call's questionnaire steps for a contact, read from the analytics replica so it matches the Customer Hub / Recent Calls drawer."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Analytics

`GET /api/analytics/contact-voice-questionnaire`

Returns the most recent Voice AI confirmation call's questionnaire steps for a contact, read from the analytics replica so it matches the Customer Hub / Recent Calls drawer.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `ApiKeyAuth`, apiKey, in header, header `X-API-Key`, format `API_KEY`

## Query parameters

- `workspace_id` (`get/api/analytics/contact-voice-questionnaire.query.workspace_id`; string, required)
- `contact_id` (`get/api/analytics/contact-voice-questionnaire.query.contact_id`; string, optional) — Contact to read the latest call for. Either contact_id or call_id is required.
- `call_id` (`get/api/analytics/contact-voice-questionnaire.query.call_id`; string, optional) — Exact Vapi call id to scope to (used by the Recent Calls drawer). Takes precedence over contact_id.

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.channelautomation.com/api/analytics/contact-voice-questionnaire?workspace_id=string' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/analytics/contact-voice-questionnaire?workspace_id=string';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/analytics/contact-voice-questionnaire?workspace_id=string"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Questionnaire payload (steps + completion).

### 400

Missing workspace_id, or neither contact_id nor call_id.

### 401

Authentication required

#### Example

```json
{
  "error": "Authentication required",
  "success": false
}
```

- `error` (`get/api/analytics/contact-voice-questionnaire.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`get/api/analytics/contact-voice-questionnaire.response.401.success`; boolean, optional)
  - example `false`

### 500

Internal server error

#### Example

```json
{
  "error": "Internal server error",
  "details": "string",
  "success": false
}
```

- `error` (`get/api/analytics/contact-voice-questionnaire.response.500.error`; string, optional)
  - example `"Internal server error"`
- `details` (`get/api/analytics/contact-voice-questionnaire.response.500.details`; string, optional)
- `success` (`get/api/analytics/contact-voice-questionnaire.response.500.success`; boolean, optional)
  - example `false`


Source: https://developer.channelautomations.com/api/get-api-analytics-contact-voice-questionnaire/index.md
