---
title: "Update device call availability"
method: POST
path: "/telephony/availability/{deviceId}"
tags: ["Telephony"]
---

# Update device call availability

`POST /telephony/availability/{deviceId}`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/telephony/availability/{deviceId}`
- Auth: HTTP bearer

Updates the busy state of a calling device for the authenticated user and returns whether the update succeeded.

## Path parameters

- `deviceId` string, required

## Query parameters

- `busy` boolean

## Response `200`

True when the device's availability claim was updated; false when the claim could not be changed.

- boolean

## Other responses

- `400`: The request contains invalid values or fails validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-13** `8a8e5f7ac721`: 2 breaking
  - removed the media type `text/json` for the response with the status `200`
  - removed the media type `text/plain` for the response with the status `200`
- **2026-11-11** `81aed8c9afb7`: 6 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `text/json` for the response with the status `200`
  - added the media type `text/plain` for the response with the status `200`
  - added the non-success response with the status `400`
  - …2 more
- **2026-11-04** `56abbde43c55`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/telephony/availability/:deviceId/post.md)

---

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