code: public TranscriptionResponse createTranscription(String callID, String legId, String recordingId, String language)
              throws UnauthorizedException, GeneralException {
          if (callID == null) {
              throw new IllegalArgumentException("Voice call ID must be specified.");
          }
  
          if (legId == null) {
              throw new IllegalArgumentException("Leg ID must be specified.");
          }
  
          if (recordingId == null) {
              throw new IllegalArgumentException("Recording ID must be specified.");
          }
  
          if (language == null) {
              throw new IllegalArgumentException("Language must be specified.");
          }
  
          if (!Arrays.asList(supportedLanguages).contains(language)) {
              throw new IllegalArgumentException("Your language is not allowed.");
          }
  
          String url = String.format(
                  "%s%s/%s%s/%s%s/%s%s",
                  VOICE_CALLS_BASE_URL,
                  VOICECALLSPATH,
                  callID,
                  LEGSPATH,
                  legId,
                  RECORDINGPATH,
                  recordingId,
                  TRANSCRIPTIONPATH);
  
          return messageBirdService.sendPayLoad(url, language, TranscriptionResponse.class);
      }
docs: Function to view recording by call id , leg id and recording id
  
  @param callID      Voice call ID
  @param legId       Leg ID
  @param recordingId Recording ID
  @param language    Language
  @return TranscriptionResponseList
  @throws UnauthorizedException if client is unauthorized
  @throws GeneralException      general exception