# Knowledge Base: How can I retrieve account information from a Sanction Web API response that only contains a ProductUserId? 

**URL:** <https://forums.unrealengine.com/t/knowledge-base-how-can-i-retrieve-account-information-from-a-sanction-web-api-response-that-only-contains-a-productuserid/2858119>\
**Category:** Tutorial & Course Discussions\
**Tags:** epic-online-services\
**Created:** [November 18, 2026, 6:26am UTC](https://forums.unrealengine.com/t/knowledge-base-how-can-i-retrieve-account-information-from-a-sanction-web-api-response-that-only-contains-a-productuserid/2858119 "2026-11-18T06:26:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [November 18, 2026, 6:26am UTC](https://forums.unrealengine.com/t/knowledge-base-how-can-i-retrieve-account-information-from-a-sanction-web-api-response-that-only-contains-a-productuserid/2858119/1 "2026-11-18T06:26:29Z")

</div>

The accountId and identityProvider fields in the create sanction request body are optional. If it is missing in the response of a Sanction Web API Get call, you can retrieve the data using our Connect Web API. We’ve included an example PS1 script below.  
  
[https://dev.epicgames.com/community/learning/knowledge-base/MlJvW/epic-online-services-how-can-i-retrieve-account-information-from-a-sanction-web-api-response-that-only-contains-a-productuserid](https://dev.epicgames.com/community/learning/knowledge-base/MlJvW/epic-online-services-how-can-i-retrieve-account-information-from-a-sanction-web-api-response-that-only-contains-a-productuserid)
