> ## Documentation Index
> Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /api/webhooks/twilio/recording

> * POST /api/webhooks/twilio/recording * Handles recording status updates from Twilio. Called when a recording is completed or fails.

* POST /api/webhooks/twilio/recording \* Handles recording status updates from Twilio. Called when a recording is completed or fails.

## Response

Returns `unknown` on success.

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://your-domain.com/api/webhooks/twilio/recording \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch('/api/webhooks/twilio/recording', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${token}`
    }
  });
  const data = await response.json();
  ```
</CodeGroup>
