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

# Update Outbound Leg Recording

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

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/format was generalized from `string`/`` to ``/``

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

---

[API](https://skmtc.dev/phonely/apis/fastapi.md) · [All operations](https://skmtc.dev/phonely/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phonely/fastapi/revisions/9bfd5599d479/schema)
