# Unable to pass the ID to a http Method

**URL:** <https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [November 28, 2025, 8:12pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472 "2025-11-28T20:12:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllIT](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@AllIT](https://developer.sailpoint.com/discuss/u/AllIT)\
**Post date:** [November 28, 2025, 8:12pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/1 "2025-11-28T20:12:22Z")

</div>

Hello All,

1. I have a search query based on certain conditions using the GetList of identities to retrieve the list of users.
2. using a loop, and inside the loop, I use the GetIdentity method to fetch the attributes of the user.
3. unable to pass the user’s identity in the HTTP method:  
[https://abc.com/v3/identities/{{$.getIdentity.id}](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)}

Kindly let me know if I am using the correct way to pass the ID in the HTTP method.

 ![ABC](https://global.discourse-cdn.com/sailpoint/original/3X/2/1/21184feea3a4cb3ec2ec10713ecf78a7e43c1786.jpeg)

Thanks,

---

<div class="post-metadata">

**Author:** ![markomanium](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/markomanium/32/29738_2.png) [@markomanium](https://developer.sailpoint.com/discuss/u/markomanium)\
**Post date:** [November 28, 2025, 10:20pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/2 "2025-11-28T22:20:49Z")

</div>

How does your loop input and context look like?

---

<div class="post-metadata">

**Author:** ![markomanium](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/markomanium/32/29738_2.png) [@markomanium](https://developer.sailpoint.com/discuss/u/markomanium)\
**Post date:** [November 28, 2025, 10:58pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/3 "2025-11-28T22:58:03Z")

</div>

Could u try this maybe:

In loop input put: `$.getListOfIdentities.identities`

in HTTP action, use:

[https://abc.com/v3/identities/{{](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)$.loop.loopInput.id[}](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)}

“Get Identity“ - this action can be removed

---

<div class="post-metadata">

**Author:** ![aghzere](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/aghzere/32/37690_2.png) [@aghzere](https://developer.sailpoint.com/discuss/u/aghzere)\
**Post date:** [November 29, 2025, 11:34am UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/4 "2025-11-29T11:34:18Z")

</div>

Hello @AllIT ,

The issue is in your API call :

With v2025 (or beta):

 ![Screenshot 2025-11-29 at 12.08.29](https://global.discourse-cdn.com/sailpoint/original/3X/2/c/2c3d4af0b3efcb2419c2b6e1375a0d94b425a931.png)

With v3 :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/0/0/0083db86e7d2a244fcd49d0cf4296f025e7a1c58.png)

Actually, v3 doesn’t contain /identities (check here : [V3 APIs | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/v3/)), but v2025 contains it ( [Identities | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/v2025/identities) )

Otherwise, [{{$.getIdentity.id}](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)} should work as it is inside the loop.

Finally, to get the identity id from the trigger into the GetIdentity inside the loop, put it in the loop context and use [{{](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)$.loop.context[}](https://abc.com/v3/identities/%7B%7B$.getIdentity.id%7D)} :

 ![Screenshot 2025-11-29 at 12.30.56](https://global.discourse-cdn.com/sailpoint/original/3X/5/4/54fca31acf036599b218eaa2e7edc9ceb5c181a7.jpeg)

 ![Screenshot 2025-11-29 at 12.31.41](https://global.discourse-cdn.com/sailpoint/original/3X/6/0/60a1c3c89665b1976628264469f50b8298dff838.jpeg)

I hope this helps you solve the issue you’re facing, and let me know how it works for you.

Best Regards,

YA

---

<div class="post-metadata">

**Author:** ![AllIT](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@AllIT](https://developer.sailpoint.com/discuss/u/AllIT)\
**Post date:** [November 29, 2025, 12:41pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/5 "2025-11-29T12:41:55Z")

</div>

Thanks @aghzere , for your input

---

<div class="post-metadata">

**Author:** ![AllIT](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@AllIT](https://developer.sailpoint.com/discuss/u/AllIT)\
**Post date:** [November 29, 2025, 12:42pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/6 "2025-11-29T12:42:20Z")

</div>

Thanks @markomanium , it worked

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [January 28, 2026, 12:42pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-pass-the-id-to-a-http-method/189472/7 "2026-01-28T12:42:48Z")

</div>

Closed on January 28, 2026, 12:42pm UTC

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