Skip to main content
GET
https://api.tensormesh.ai
/
v1
/
users
/
{userId}
Get User Profile
curl --request GET \
  --url https://api.tensormesh.ai/v1/users/{userId} \
  --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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Path Parameters

userId
string
required

The unique ID of the user.

Query Parameters

userEmail
string

The email address of the user.

Response

A successful response.

GetUserProfileResponse is the response for retrieving a user profile.

user
object

User represents a user profile in the system.