---
title: "Notify an optional audio chunk / customer URI for a live or archived call (idle $0)."
method: POST
path: "/v1/pbx/audio/chunk"
tags: ["PBX Search"]
---

# Notify an optional audio chunk / customer URI for a live or archived call (idle $0).

`POST /v1/pbx/audio/chunk`

## Request

- Base URL: `https://api.temsor.com`
- URL: `https://api.temsor.com/v1/pbx/audio/chunk`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Prefer customer storage URI. Temsor keeps a pointer; STT only while a call is active.

**Credits per call:** 1 · **Operation id:** `pbx_audio_chunk`

## Request body

- object
  - `call_id` string, required
  - `pbx_id` string
  - `uri` string, uri: Customer-side media URI (preferred).
  - `bytes_b64` string: Optional small demo chunk; production prefers URI.
  - `t_ms` integer

## Response `200`

Success

- object
  - `ok` unknown, required
  - `data` object, required
    - `id` string, required
    - `call_id` string, required
    - `uri` string, nullable, required
    - `has_bytes` boolean, required
    - `bytes_len` integer, required
    - `t_ms` number, nullable, required
    - `pbx_id` string, nullable, required
    - `note` string, required
    - `at` string, required
  - `meta` object
    - `credits` integer
    - `cached` boolean
    - `requestId` string
    - `durationMs` integer

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `429`: Rate limit exceeded — wait `Retry-After` seconds. The RateLimit headers are sent here too.

---

[API](https://skmtc.dev/temsor/apis/temsor-api.md) · [All operations](https://skmtc.dev/temsor/apis/temsor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/temsor/apis/temsor-api/revisions/19702107e15a?raw)
