Users
Get current user profile
Changed onRetrieves the profile information for the currently authenticated user. This endpoint returns basic user details including name, email, and account status.
Use this endpoint to:
- Display user information in your application
- Verify the identity of the authenticated user
- Check user account status and permissions
The response includes the user's unique ID which can be used to reference the user in other API calls.
get/users/me
Request
- Base URL: https://api.wefunder.com
- URL: https://api.wefunder.com/users/me
- Auth: OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: read:profile)
Response
Successful response
Example response
{
"data": {
"id": "usr_8Kd0aB3xQ9k2vF8mNp1zT5wY",
"type": "user",
"attributes": {
"email": "user@example.com",
"username": "john_doe",
"name": "John",
"full_name": "John Doe",
"bio": "Entrepreneur and investor",
"city": "San Francisco",
"country": "USA",
"avatar_url": "https://example.com/avatar.jpg",
"created_at": "2023-01-15T10:30:00Z",
"certified_at": "2023-02-01T14:20:00Z"
}
}
}Changes
- breaking
the
/response's property type changed fromintegertostringfor status
- breaking
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info