---
title: "Audio File status updated"
method: POST
path: "v2.audio-file.updated"
---

# Audio File status updated

`POST v2.audio-file.updated` (webhook)

## Payload

- object
  - `id` string, required — Unique identifier for the event. Use this for idempotency checks.
  - `at` string, date-time, required — RFC 3339, section 5.6
  - `sid` string, required — Short ID
  - `type` 'v2.audio-file.updated', required — - `v2.billing.credit.topup` = Your account has been credited with a new amount. - `v2.billing.credit.warning` = Your prepaid balance has reached its warning level. - `v2.billing.credit.shutdown` = Your prepaid balance has reached its shutdown level. Your account is suspended. - `v2.call.inbound.started` = An inbound call just started. - `v2.call.inbound.ended` = An inbound call just hung up. - `v2.call.outbound.started` = An outbound call just started. - `v2.call.outbound.ended` = An outbound call just hung up. - `v2.number.assigned` = A phone number was assigned to your account. - `v2.number.unassigned` = A phone number was unassigned from your account. - `v2.task.updated` = A task has been updated. - `v2.audio-file.updated` = An audio file has been updated. - `v2.recording.updated` = A recording has been updated. - `v2.sms.inbound.received` = An inbound SMS has been received. - `v2.sms.outbound.updated` = An outbound SMS has an updated status.
  - `try` integer, required — Number of attempts made to deliver the webhook
  - `payload` AudioFile, required — Audio file
    - `sid` string, required — Short ID
    - `name` string, required — Audio file name
    - `duration` integer, required — Duration in seconds
    - `source` 'phone-record' | 'system' | 'file-upload', required — Audio file source
    - `url` string, uri — A URL to media hosted by Callr. Unlike user-submitted endpoints, this value is generated by the API and its host varies by environment (it may not resolve to a public domain, e.g. in local development).
    - `readonly` boolean, required — System provided files cannot be modified
    - `status` 'ready' | 'processing' | 'pending-content' | 'pending-conversion' | 'error', required — Audio file status
    - `created` string, date-time, required — RFC 3339, section 5.6
    - `updated` string, date-time, required — RFC 3339, section 5.6

## Acknowledgement `2XX`

OK

---

[API](https://skmtc.dev/callr/apis/callr-rest-api-v2-0.md) · [All operations](https://skmtc.dev/callr/apis/callr-rest-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/callr/callr-rest-api-v2-0/revisions/76d36d004a8f/schema)
