# Hitting an API endpoint, possible?

**URL:** <https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine\
**Created:** [October 13, 2016, 8:09pm UTC](https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944 "2016-10-13T20:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![One\_Mode\_Only](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@One\_Mode\_Only](https://forums.unrealengine.com/u/One_Mode_Only)\
**Post date:** [October 13, 2016, 8:09pm UTC](https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944/1 "2016-10-13T20:09:26Z")

</div>

Is it possible to hit an API with someone’s Steam ID and store the response? Particularly, when they join the server. I’m wanting to get a simple membership mod made that shows a badge next to someone’s name in chat if they have a membership. For example, it’d hit [myserver.com/api/{SteamID}](http://myserver.com/api/%7BSteamID%7D) and the response would be either a membership id or 0.

If not, can it read from a separate file? I could easily have my web server push a list of memberships with their Steam Id if so.

Last resort is config. That’s my last resort due to the fact that it’ll take up to a day for someone’s badge to appear. Shouldn’t be a huge deal, though.

Is this possible? Please let me know what you think.

---

<div class="post-metadata">

**Author:** ![Lifefire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lifefire](https://forums.unrealengine.com/u/Lifefire)\
**Post date:** [October 14, 2016, 4:34am UTC](https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944/2 "2016-10-14T04:34:14Z")

</div>

By membership, do you mean a mod that requires any form of payment to use? if so, those mods are not allowed and get taken down very quickly.

---

<div class="post-metadata">

**Author:** ![WoefulMacabre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WoefulMacabre](https://forums.unrealengine.com/u/WoefulMacabre)\
**Post date:** [October 14, 2016, 6:39am UTC](https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944/3 "2016-10-14T06:39:12Z")

</div>

Well, not really wanting to blow a massive hole in your plan here… but the only way, that I know of, to get badges next to names in chat - as the chat system is really completely untouchable - is to add the SteamID and setup a badge group in the PrimalGameData and that can only be modified in the DevKit.

You can’t dynamically modify that information during run-time or even at initialisation with ARK.

-WM

---

<div class="post-metadata">

**Author:** ![One\_Mode\_Only](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@One\_Mode\_Only](https://forums.unrealengine.com/u/One_Mode_Only)\
**Post date:** [October 14, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/hitting-an-api-endpoint-possible/75944/4 "2016-10-14T18:44:31Z")

</div>

> [@WoefulMacabre;609158](#):
>
> Well, not really wanting to blow a massive hole in your plan here… but the only way, that I know of, to get badges next to names in chat - as the chat system is really completely untouchable - is to add the SteamID and setup a badge group in the PrimalGameData and that can only be modified in the DevKit.
> 
> You can’t dynamically modify that information during run-time or even at initialisation with ARK.
> 
> -WM

Interesting. So a dynamic badge is not possible at all - the badges being next to a certain player’s name is completely dependent upon adding their SteamID right in the Dev Kit? Good to know. I wondered if it was really even doable.

Alright, so squash the badge idea. Is it possible to hit an API endpoint and get data back then? I remember it wasn’t possible the last time I checked, but I also wondered if that’s changed recently (especially with the alarm systems triggering a GET request on URLs).

EDIT:

What about whitelisted players? Admins’ badges are dynamic of course. Would it be possible to setup badges for anyone that’s whitelisted? That’d be a good work around for now.
