---
title: "Retrieve details of DECT phone model"
method: GET
path: "/dect_phone_models/{name}"
tags: ["Auto Provisioning"]
---

# Retrieve details of DECT phone model

`GET /dect_phone_models/{name}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/dect_phone_models/{name}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/dect_phone_models/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve details of DECT phone model.

## Path parameters

- `name` string, required: Template XML file name for phone provisioning.

## Response `200`

OK

- object
  - `template` string: Template XML file name for phone provisioning.
  - `languages` string[]: A collection of language tags.
  - `tones` string[]: A collection of ringtones.
  - `time_zones` string[]: A collection of time zones.
  - `codecs` string[]: Settings for the priority of the codecs in this phone. This indicates the first preferred codec.
  - `lines` integer: The max lines of DECT phone.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
