Thanks for the response and recommendation!
No the access code does not, it's just an identifier for myself and the 3rd party api I am trying to use. This access code needs to be passed to the custom api endpoint. Which I was trying to just do in a javascript webpart, but I'm not sure how I can get the current logged in users account data in kentico to pass to the endpoint.
I actually like what you recommended more and will probably go that route, but my question would still be how can I access the AccessCode field to send to the api on page load?
Edit: actually since its a custom webpart, can't I just handle getting the users data in the backend code?