Ask
Type to search
Endpoints

Profile

In Vrite, your profile data (email, username, bio, etc.) is shared across all workspaces you’re a member of. You can change it in the profile settings (including sensitive information like your email or password).

You can only retrieve the profile details of the user who created (or last regenerated) the token with proper permissions.

Retrieve Profile

Retrieves profile information and statuses of ongoing verifications of the user associated with the token.

GET
/profile
Response object
idstring

ID of the user

avatarstring

URL of the user's profile image

usernamestring

Short username

biostring

User's bio

fullNamestring

User's full name

emailstring

Email address

newEmailChangeInVerificationboolean

Whether a new email is in verification after a change

oldEmailChangeInVerificationboolean

Whether an old email is in verification after a change

passwordChangeInVerificationboolean

Whether a password change is in verification

emailInVerificationboolean

Whether the email is in verification after a sign up

Request
Response
{
  "id": "af549178ac762ac86132359c",
  "avatar": "string",
  "username": "string",
  "bio": "string",
  "fullName": "string",
  "email": "[email protected]",
  "newEmailChangeInVerification": true,
  "oldEmailChangeInVerification": true,
  "passwordChangeInVerification": true,
  "emailInVerification": true
}