---
title: "Get away audio message"
method: GET
path: "/ccaas/voice/2/away-audio-message/{workingHoursConfigId}"
tags: ["customer-engagement", "conversations", "away-audio-messages"]
---

# Get away audio message

`GET /ccaas/voice/2/away-audio-message/{workingHoursConfigId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/ccaas/voice/2/away-audio-message/{workingHoursConfigId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Use this method to retrieve an away audio message by its working hours configuration id.

## Path parameters

- `workingHoursConfigId` string, required

## Response `200`

OK

- B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866AwayAudioMessageApiModel
  - `id` string: Unique ID of the away audio message.
  - `workingHoursConfigId` string: Id of the working hours configuration.
  - `audioSource` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866OptionWithFileOrTtsAudioSourceApiModel, required: File audio source or TTS audio source information.
    - `enabled` boolean
    - `Audio source type` 'TTS' | 'FILE': Specifies whether the audio is from a file source or text-to-speech
    - `ttsAudioSource` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866TtsAudioSourceApiModel: Text-to-speech audio source information.
      - `text` string, required: Text to convert using text-to-speech. This field supports usage of placeholders. Use the following endpoint to find which placeholders are supported: <a href="https://www.infobip.com/docs/api/customer-engagement/conversations/get-conversations-tts-supported-placeholders" target="_blank">Get supported TTS placeholders for purpose</a>. Placeholders are used to dynamically insert values into the text. For example, you can use placeholders to insert the customer's position in queue as part of announcement message in waiting strategy.
      - `language` string, required: If the message is in text format, the language in which the message is written must be defined for correct pronunciation. In the Languages section, you can find the list of languages that we support: <a href="https://www.infobip.com/docs/voice-and-video/outbound-calls#text-to-speech-voice-over-broadcast" target="_blank">Voice Text-To-Speech Languages.</a>
      - `isLanguageSelectedManually` boolean: This option controls whether automatic language detection will be performed on provided text.
      - `voice` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866VoiceApiModel, required: Used to define voice in which text will be synthesized. To get a list of the supported voices for chosen language use <a href="https://www.infobip.com/docs/api#channels/voice/get-voices" target="_blank">Get voices.</a>
        - `name` string, required: Name of the voice.
        - `gender` string, required: Gender of the voice. Can be MALE or FEMALE.
      - `speechRate` number, double, required: Text-to-speech speech rate.
    - `fileAudioSource` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866FileAudioSourceApiModel: File audio source information.
      - `fileDescriptor` string: File audio source descriptor.
  - `collectables` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866CollectableApiModel[]
    - `code` string, required: Code attached to the collectable.
    - `action` 'CALLBACK' | 'RETURN_TO_IVR', required: Action type connected to the collectable.
    - `value` string, required: Collectable value.
  - `collectDuration` B979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866DurationApiModel: Duration information.
    - `unit` 'SECONDS' | 'MINUTES' | 'HOURS', required
    - `value` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
