How to authenticate a user

I’ve developed a full-page app that creates solutions articles. I want any agent who is able to create an article in the FreshService UI to also be able to create an article with my app, and I want the person who wrote the article to be credited as the author.

How do I handle authentication? If I use an API key for a service account, the service account name is recorded as the author of the article. How do I authenticate the current user, or at least find out the id of the current user? This seems like a basic question, but I haven’t been able to find an answer in the documentation.

Hi @WardenBrown

Hope you are doing good.

Will logged-in user details fit your use case? If yes, please refer to this documentation Data Methods

Thanks and Regards,
Mughela Chandresh

1 Like

Yes, thank you so much for providing a link to the documentation. I somehow missed it.


1 Like