# Need to call discord API with auth token to retrieve additional info

**URL:** <https://community.auth0.com/t/need-to-call-discord-api-with-auth-token-to-retrieve-additional-info/101180>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [February 23, 2023, 8:01pm UTC](https://community.auth0.com/t/need-to-call-discord-api-with-auth-token-to-retrieve-additional-info/101180 "2023-02-23T20:01:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 7, 2023, 7:19pm UTC](https://community.auth0.com/t/need-to-call-discord-api-with-auth-token-to-retrieve-additional-info/101180/7 "2023-03-07T19:19:42Z")

</div>

Hi @nanaki658,

Thank you for your reply, and I am glad you got it working using Rules.

> [@nanaki658](#):
>
> Is there a functional difference between app\_metadata and user\_metadata properties?

There is no functional difference between app\_metadata and user\_metadata properties, only a semantic difference.

The difference between `app_metadata` and `user_metadata` is that the first should be used for information about the user that is **controlled by the application** (e.g. the user identifier for a legacy system, or the roles a user has), whereas `user_metadata` is information that the user can view and control (e.g. user settings, preferences). [Reference: [Differences between client\_metadata and app\_metadata](https://community.auth0.com/t/differences-between-client-metadata-and-app-metadata/21388#:~:text=The%20different%20between,user%20settings%2C%20preferences)).]

> [@nanaki658](#):
>
> Is there any reason I SHOULDN’T be using a rule for this functionality?

You should be completely fine with using a Rule for this functionality but, take note that Rules may be deprecated eventually. Because of this, I recommend reading this [related community post](https://community.auth0.com/t/is-there-any-timeline-on-rules-deprecation/99004/2) that answers questions on the timeline on deprecating Rules.

May I help you with anything else?

Thanks,  
Rueben

---

_[View the full topic](https://community.auth0.com/t/need-to-call-discord-api-with-auth-token-to-retrieve-additional-info/101180)._
