---
title: "Record carrier status and release ended Voice AI call capacity"
description: "Terminal parent-call receipts with a valid Twilio signature release the workspace lease and any provisional voiceLease. Child calls, recording-only events and unsigned receipts cannot release capacity. Existing status and recording processing is preserved."
---

> 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 › Twilio

`POST /api/workspaces/{workspaceId}/voice/status`

Terminal parent-call receipts with a valid Twilio signature release the workspace lease and any provisional voiceLease. Child calls, recording-only events and unsigned receipts cannot release capacity. Existing status and recording processing is preserved.

## Path parameters

- `workspaceId` (`post/api/workspaces/workspaceId/voice/status.path.workspaceId`; string, required)

## Query parameters

- `voiceLease` (`post/api/workspaces/workspaceId/voice/status.query.voiceLease`; string, optional) — Internal provisional outbound capacity lease
  - format `uuid`

## Header parameters

- `X-Twilio-Signature` (`post/api/workspaces/workspaceId/voice/status.header.X-Twilio-Signature`; string, optional) — Required to release capacity

## Request body

_Required._

- `CallSid` (`post/api/workspaces/workspaceId/voice/status.CallSid`; string, optional)
- `CallStatus` (`post/api/workspaces/workspaceId/voice/status.CallStatus`; string, optional)
- `ParentCallSid` (`post/api/workspaces/workspaceId/voice/status.ParentCallSid`; string, optional)
- `RecordingSid` (`post/api/workspaces/workspaceId/voice/status.RecordingSid`; string, optional)

## Example request

```text
{
  "CallSid": "string",
  "CallStatus": "string",
  "ParentCallSid": "string",
  "RecordingSid": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.channelautomation.com/api/workspaces/<workspaceId>/voice/status' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode CallSid=string \
  --data-urlencode CallStatus=string \
  --data-urlencode ParentCallSid=string \
  --data-urlencode RecordingSid=string
```

### TypeScript

```typescript
const encodedParams = new URLSearchParams();
encodedParams.append('CallSid', 'string');
encodedParams.append('CallStatus', 'string');
encodedParams.append('ParentCallSid', 'string');
encodedParams.append('RecordingSid', 'string');

const url = 'https://api.channelautomation.com/api/workspaces/<workspaceId>/voice/status';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/x-www-form-urlencoded'},
  body: encodedParams
};

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/workspaces/<workspaceId>/voice/status"

payload = {
    "CallSid": "string",
    "CallStatus": "string",
    "ParentCallSid": "string",
    "RecordingSid": "string"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}

response = requests.post(url, data=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Carrier status accepted

### 400

Invalid workspace or request

### 403

Invalid or missing Twilio signature on a durable handoff

### 500

Existing status processing failed


Source: https://developer.channelautomations.com/api/post-api-workspaces-workspace-id-voice-status/index.md
