# Matching user with participant audio file

**URL:** <https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687>\
**Category:** API and Webhooks\
**Created:** [December 23, 2022, 2:03am UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687 "2022-12-23T02:03:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![krunal1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/krunal1/32/44029_2.png) [@krunal1](https://devforum.zoom.us/u/krunal1)\
**Post date:** [December 23, 2022, 2:03am UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687/1 "2022-12-23T02:03:05Z")

</div>

* * *

**API Endpoint(s) and/or Zoom API Event(s)**  
{{baseUrl}}/meetings/{meeting\_id}/recordings

**Description**  
The only identifying information returned with the audio file object is the `file_name` property which is not unique. If I have 2 participants named “John”, the participant audio files will have the same file name — “Audio only - John”. How can I tell which participant audio file belongs to which user? Is there a way to find the userId of the participant audio file?

Sample API Response:

```auto
"participant_audio_files": [
{
"download_url": "https://example.com/rec/download/Qg75t7xZBtEbAkjdlgbfdngBBBB",
"file_name": "Audio only - John",
"file_path": "/9090876528/path01/demo.mp4",
"file_size": 65536,
"file_type": "M4A",
"id": "a2f19f96-9294-4f51-8134-6f0eea108eb2",
"play_url": "https://example.com/rec/play/Qg75t7xZBtEbAkjdlgbfdngBBBB",
"recording_end": "2021-06-30T22:14:57Z",
"recording_start": "2021-06-30T22:14:57Z",
"status": "completed"
}]

```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 23, 2022, 8:25pm UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687/2 "2022-12-23T20:25:15Z")

</div>

I think the best method here is to use the recording ID or the ID from the download URL to rename the audio file. At this time, we don’t have a method to change the name of the file.

Let me know if that helps.

---

<div class="post-metadata">

**Author:** ![krunal1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/krunal1/32/44029_2.png) [@krunal1](https://devforum.zoom.us/u/krunal1)\
**Post date:** [December 23, 2022, 11:11pm UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687/3 "2022-12-23T23:11:03Z")

</div>

Hey Max,

Thanks for the quick response. The recording ID or the ID from the download URL don’t tell me who the user is. When the API returns the data, I’m not sure how to determine which participant audio file belongs to which user. For example, let’s say I’m in a meeting with 2 other users named John. The API call will return the following data for participant\_audio\_files:

```auto
"participant_audio_files": [
{
"download_url": "random_download_url",
"file_name": "Audio only - Krunal",
"file_path": "random_file_path",
"file_size": 65536,
"file_type": "M4A",
"id": "random_file_id",
"play_url": "random_play_url",
"recording_end": "random_end_time",
"recording_start": "random_start_time",
"status": "completed"
},
{
"download_url": "random_download_url",
"file_name": "Audio only - John",
"file_path": "random_file_path",
"file_size": 65536,
"file_type": "M4A",
"id": "random_file_id",
"play_url": "random_play_url",
"recording_end": "random_end_time",
"recording_start": "random_start_time",
"status": "completed"
},
{
"download_url": "random_download_url",
"file_name": "Audio only - John",
"file_path": "random_file_path",
"file_size": 65536,
"file_type": "M4A",
"id": "random_file_id",
"play_url": "random_play_url",
"recording_end": "random_end_time",
"recording_start": "random_start_time",
"status": "completed"
},
]

```

The `id` property in the returned data refers to the file id, not the user id. The only user identifying information is the file\_name which includes the user’s name. I know to match my zoom userID with the first file because it has my name in the file name. However, I can’t do that with the other 2 files because they both have the same file name since both users had the same Zoom name. So, there is no sure way to match which zoom userIds the other 2 files belong to. I need to be sure that the 2nd audio file came from John with user\_id 123 and the 3rd one came from John with user\_id 789 for example.

Is there a way to get this information? Is there another API call that can help me get user info about the recording files?

---

<div class="post-metadata">

**Author:** ![dom\_cquence](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dom_cquence/32/44159_2.png) [@dom\_cquence](https://devforum.zoom.us/u/dom_cquence)\
**Post date:** [December 30, 2022, 5:21pm UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687/4 "2022-12-30T17:21:43Z")

</div>

If the response for `participant_audio_files ` returned an additional field: `participant_user_id`, this issue would be resolved.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 3, 2024, 8:58am UTC](https://devforum.zoom.us/t/matching-user-with-participant-audio-file/80687/5 "2024-01-03T08:58:45Z")

</div>

Closed on January 3, 2024, 8:58am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
