# Mentions in story comments showing up with profile id in api, is there a way to go from profile id to user id

**URL:** <https://forum.asana.com/t/mentions-in-story-comments-showing-up-with-profile-id-in-api-is-there-a-way-to-go-from-profile-id-to-user-id/1070520>\
**Category:** API & Developers\
**Tags:** comments, stories\
**Created:** [10 June 2025 20:09 UTC](https://forum.asana.com/t/mentions-in-story-comments-showing-up-with-profile-id-in-api-is-there-a-way-to-go-from-profile-id-to-user-id/1070520 "2025-06-10T20:09:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ameen\_Jivani](https://luna1.co/8d76cd.png) [@Ameen\_Jivani](https://forum.asana.com/u/Ameen_Jivani)\
**Post date:** [10 June 2025 20:09 UTC](https://forum.asana.com/t/mentions-in-story-comments-showing-up-with-profile-id-in-api-is-there-a-way-to-go-from-profile-id-to-user-id/1070520/1 "2025-06-10T20:09:18Z")

</div>

Hi, I’m using the stories api to extract comments - _{ASANA\_BASE\_URL}/tasks/{task\_gid}/stories_ - when I find a comment i see it as text only (no html\_text) and what looks to be a profile id instead of a user id.

Is there a way to **go from this profile id to the user id** I need? Willing to make as many api calls as needed to find this.

“John said: [app.asana.com/0/1202646525507297/list](https://app.asana.com/0/1202646525507297/list) what do you mean?”

**Trying this right now shows that the number isn’t the user id but possibly a profile id?:**

requests.get( “[https://app.asana.com/api/1.0/users/1202646525507297](https://app.asana.com/api/1.0/users/1202646525507297)”, headers=headers\_asana)

How does one go from this url to the user’s name?

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [11 June 2025 03:15 UTC](https://forum.asana.com/t/mentions-in-story-comments-showing-up-with-profile-id-in-api-is-there-a-way-to-go-from-profile-id-to-user-id/1070520/2 "2025-06-11T03:15:09Z")

</div>

Split this topic on 11 June 2025 03:15 UTC

A post was merged into an existing topic: [How to match user ID and profile ID](https://forum.asana.com/t/how-to-match-user-id-and-profile-id/1013042)

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [11 June 2025 03:15 UTC](https://forum.asana.com/t/mentions-in-story-comments-showing-up-with-profile-id-in-api-is-there-a-way-to-go-from-profile-id-to-user-id/1070520/3 "2025-06-11T03:15:09Z")

</div>

Closed on 11 June 2025 03:15 UTC


