Cfx api

How can i gelp an user by id, using cfx API?

here i can get my user by username
https://forum.cfx.re/u/felipeexx.json

cfx use this to up your API
https://docs.discourse.org/

Uh, what’s the use case / why do you need this?

i’ll create my tebex shop with his headless api, and i’ll need get the user to show in the shop

Seems to be an ‘Admin Only’ endpoint:

https://docs.discourse.org/#tag/Admin/operation/adminGetUser

1 Like

i don’t have access

The Tebex Headless API stores the FiveM username and user ID within the basket.