curl --request GET \
--url https://api.tensormesh.ai/auth/profile \
--header 'Authorization: Bearer <token>'{
"user": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"displayName": "<string>",
"userEmail": "<string>",
"authProvider": "AUTH_PROVIDER_UNSPECIFIED",
"authProviderId": "<string>",
"avatarUrl": "<string>",
"stripeCusId": "<string>",
"userRole": "USER_ROLE_UNSPECIFIED",
"apiKey": "<string>",
"company": "<string>",
"tosAcceptedAt": "2023-11-07T05:31:56Z",
"surveyCompletedAt": "2023-11-07T05:31:56Z"
}
}Returns the authenticated user profile for the current bearer token.
curl --request GET \
--url https://api.tensormesh.ai/auth/profile \
--header 'Authorization: Bearer <token>'{
"user": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"displayName": "<string>",
"userEmail": "<string>",
"authProvider": "AUTH_PROVIDER_UNSPECIFIED",
"authProviderId": "<string>",
"avatarUrl": "<string>",
"stripeCusId": "<string>",
"userRole": "USER_ROLE_UNSPECIFIED",
"apiKey": "<string>",
"company": "<string>",
"tosAcceptedAt": "2023-11-07T05:31:56Z",
"surveyCompletedAt": "2023-11-07T05:31:56Z"
}
}