GETBearer token
Get user profile
/api/v1/user/profile
Read the authenticated user's public User profile and linked sign-in accounts.
Request example
cURL
curl "https://tovahub.com/api/v1/user/profile" \
-H "Authorization: Bearer $TOVAHUB_TOKEN"Examples only. No requests are sent from this page.
Illustrative response
JSON
{
"_id": "507f1f77bcf86cd799439012",
"teamId": "507f1f77bcf86cd799439013",
"name": "Example user",
"kind": "human",
"language": "en",
"createdAt": "2026-01-01T00:00:00.000Z",
"email": {
"address": "user@example.test",
"verifiedAt": "2026-01-01T00:00:00.000Z",
"hasPassword": true,
"linkedAt": "2026-01-01T00:00:00.000Z"
},
"google": null,
"github": null,
"permissions": {
"manageUsers": true,
"consume": true,
"releaseServers": true,
"audit": false
}
}Parameters
No parameters.
Response
HTTP status 200
The authenticated user's public User document, returned directly.
_idstring (ObjectId)User identifier.
teamIdstring (ObjectId)The authenticated user's fixed team.
namestring | nullPublic display name.
kindstringUser kind, human or ai.
languagestringUser interface language.
createdAtstring (ISO 8601)User creation time.
emailobject | nullLinked email identity, if any.
email.addressstringEmail address.
email.verifiedAtstring (ISO 8601) | nullEmail verification time.
email.hasPasswordbooleanWhether this email can sign in with a password.
email.linkedAtstring (ISO 8601)Email link time.
googleobject | nullLinked Google identity, if any.
google.subjectstringGoogle account subject.
githubobject | nullLinked GitHub identity, if any.
github.subjectstringGitHub account subject.
github.usernamestring | nullGitHub username, if available.
permissionsobjectCurrent team's manageUsers, consume, releaseServers and audit permissions.