I get detail connection via https://backend.composio.dev/api/v1/connectedAccounts/{accountId}
then I combie connectionParams.base_url + meta.app.get_current_user_endpoint to url. I call it with token from connectionParams.hearders.Authorization
By this way, I can get email of account do authenticate.
Example in gmail:
curl -H "Authorization: Bearer ..." https://www.googleapis.com/gmail/v1/users/me/profile
Response:
{
"emailAddress": "[email protected]",
"messagesTotal": 4200,
"threadsTotal": 3987,
"historyId": "473404"
}
However, I can't see email in youtube Response and googlecalendar Response