---
title: "Update Outbound Leg Recording"
method: POST
path: "/call/update-outbound-leg-recording"
---

# Update Outbound Leg Recording

`POST /call/update-outbound-leg-recording`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/call/update-outbound-leg-recording`
- Auth: none declared

Receive outbound leg recording information and forward it to the backend service.
Expects JSON body with 'inbound_leg_call_id', 'recording_sid', and 'call_sid'.

## Headers

- `x-internal-api-key` string, nullable

## Request body

- UpdateOutboundLegRecordingRequest
  - `inbound_leg_call_id` string, required
  - `recording_sid` string, required
  - `call_sid` string, required
  - `recording_url` string, required
  - `bucket_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-26** `9bfd5599d479`: 3 info
  - the `header` request parameter `x-internal-api-key` became optional
  - `header` request parameter `x-internal-api-key` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-internal-api-key`, the type was generalized from `string` to no type

[Operation history](https://skmtc.dev/phonely/apis/phonely-api/changes/call/update-outbound-leg-recording/post.md)

---

[API](https://skmtc.dev/phonely/apis/phonely-api.md) - [All operations](https://skmtc.dev/phonely/apis/phonely-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phonely/apis/phonely-api/revisions/9bfd5599d479?raw)
