---
title: "Update call"
method: POST
path: "/texml/Accounts/{account_sid}/Calls/{call_sid}"
tags: ["TeXML REST Commands"]
---

# Update call

`POST /texml/Accounts/{account_sid}/Calls/{call_sid}`

Update TeXML call. Please note that the keys present in the payload MUST BE formatted in CamelCase as specified in the example.

## Path parameters

- `call_sid` string, required
- `account_sid` string, required

## Response `200`

Call resource.

- CallResource
  - `account_sid` string — The id of the account the resource belongs to.
  - `answered_by` 'human' | 'machine' | 'not_sure' — The value of the answering machine detection result, if this feature was enabled for the call.
  - `caller_name` string — Caller ID, if present.
  - `date_created` string — The timestamp of when the resource was created.
  - `date_updated` string — The timestamp of when the resource was last updated.
  - `direction` 'inbound' | 'outbound' — The direction of this call.
  - `duration` string — The duration of this call, given in seconds.
  - `end_time` string — The end time of this call.
  - `from` string — The phone number or SIP address that made this call.
  - `from_formatted` string — The from number formatted for display.
  - `price` string — The price of this call, the currency is specified in the price_unit field. Only populated when the call cost feature is enabled for the account.
  - `price_unit` string — The unit in which the price is given.
  - `sid` string — The identifier of this call.
  - `start_time` string — The start time of this call.
  - `status` 'ringing' | 'in-progress' | 'canceled' | 'completed' | 'failed' | 'busy' | 'no-answer' — The status of this call.
  - `to` string — The phone number or SIP address that received this call.
  - `to_formatted` string — The to number formatted for display.
  - `uri` string — The relative URI for this call.

## Other responses

- `404` — Resource not found
- `422` — Unprocessable entity. The request was well-formed but contains semantic errors.

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
