---
title: "Read MOH for User"
method: GET
path: "/domains/{domain}/users/{user}/moh"
tags: ["Media/Music on Hold/User"]
---

# Read MOH for User

`GET /domains/{domain}/users/{user}/moh`

## Path parameters

- `domain` string, required — This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
- `user` string, required — This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

## Response `200`

- Audiofile[]
  - `filename` string — This is the filename without and path or folder. Should end in .wav
  - `ordinal-order` integer — This is the index of the audio file.
  - `file-duration-seconds` integer — This value is the length of the file in seconds.
  - `file-size-kilobytes` string — This value will be a formated filesize of the file in kilobytes
  - `created-datetime` string — This is the timestamp of create time fo the file
  - `file-access-url` string — This will be URL of the file for remote playback.
  - `file-script-text` string — This is the script that was used for text to speech and also used to create a new file.
  - `file-source` string — This is the source of the file, it will show how the file was created originally.
  - `text-to-speech-voice-id` string — This is the voice id used when using text to speech.
  - `text-to-speech-language` string — This is the voice language when using TTS.
  - `FromName` string
  - `FromUser` string
  - `FromHost` string
  - `NmsAni` string
  - `recorded-datetime` string — This is the timestamp of record time fo the file
  - `NmsRecStartTime` string
  - `NmsRecDuration` string
  - `TimeZone` string
  - `transcription` string

## Other responses

- `400`
- `401`
- `404`

---

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