https://linen.dev logo
username/email that was used to authenticate a too...
# 🖥│support-forum
d
Hello! I’m using Composio and I’m having a hard time finding a resource or endpoint that returns the username/email of a connected account. Is there any way to retrieve this information using the userId and toolSlug?
u
Hey @Danish, some toolkits offer tools to get the authenticated user like
GMAIL_GET_PROFILE
but in case of no available tool, you can try few techniques like using email of the user as userId when initiating a connection, etc.. —Let me know if this helps!
d
Thanks for responding, but still i've confusion. how will we use user's email as user id when we won't know which google account was to be authenticated
u
I see, the only way to retreive a authenticated user's information is to use an api(tool). Few toolkits provide endpoints to acheive this.