---
title: "Update a Phone Call"
method: PUT
path: "/api/record/calllog/{id}"
---

# Update a Phone Call

`PUT /api/record/calllog/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `ivruniqueid` string, required — The ID of the phone call.
  - `accountid` string — The related account's GUID.
  - `callerext` string — The extension of the phone number the call originated from.
  - `callerid` string — The phone number the call originated from (Primary).
  - `callprice` number, float — Price of the call.
  - `contactid` string — The related contact's GUID.
  - `dialtime` number, float — The amount of time the phone rings until the line is connected or disconnected. Displays in seconds.
  - `duration` number, float — The duration of the call in seconds, does not include the dial time.
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `queuename` string — Queue name
  - `recordurl` string — A link to a recording of the call, must be in URL format.
  - `status` integer — The status of the call, use 1 for Answered, 2 for Busy, 3 for Missed, 4 for Cancelled, 5 for Disconnected Number, and 7 for Left Message.
  - `targetext` string — The extension of the receiving phone number.
  - `targetid` string — The phone number receiving the call.
  - `type` integer — The type of the call, use 1 for Incoming, 2 for Outgoing, and 3 for Internal.
  - `vmboxname` string — Voice Mail

## Response `200`

200

- object

## Other responses

- `400` — 400

---

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