User
Get own user profile
Returns the authenticated user’s profile. For organization users, profile fields are managed by the organization and are read-only (except avatar which can be updated).
GET
/
v1
/
user
/
profile
Get own user profile
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profileimport requests
url = "https://api.hyperprop.com/platform/v1/user/profile"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/user/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/user/profile"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/platform/v1/user/profile")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"username": "johndoe",
"displayName": "John Doe",
"name": "John Michael Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"bio": "Trader & investor",
"dateOfBirth": "1990-05-15",
"nationality": "US",
"isPublic": false,
"createdAt": "2025-01-15T10:00:00.000Z",
"updatedAt": "2025-01-15T10:00:00.000Z",
"isOrganizationProfile": false,
"milestones": {
"firstUsernameSetAt": "2026-01-20T10:00:00.000Z",
"firstAvatarUploadedAt": "2026-01-21T14:30:00.000Z",
"firstPublicProfileAt": "2026-01-22T09:15:00.000Z"
},
"email": "john@acme.com",
"teamRole": "admin",
"organization": {
"id": "org-123",
"name": "Acme Corporation"
}
}
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Profile not found",
"code": "PROFILE_NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}Related topics
Get user profile by usernameGet user profile by account registration numberAuthenticationGet own social feedGet traders for your organization⌘I
Get own user profile
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profileimport requests
url = "https://api.hyperprop.com/platform/v1/user/profile"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/user/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/user/profile"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/platform/v1/user/profile")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"username": "johndoe",
"displayName": "John Doe",
"name": "John Michael Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"bio": "Trader & investor",
"dateOfBirth": "1990-05-15",
"nationality": "US",
"isPublic": false,
"createdAt": "2025-01-15T10:00:00.000Z",
"updatedAt": "2025-01-15T10:00:00.000Z",
"isOrganizationProfile": false,
"milestones": {
"firstUsernameSetAt": "2026-01-20T10:00:00.000Z",
"firstAvatarUploadedAt": "2026-01-21T14:30:00.000Z",
"firstPublicProfileAt": "2026-01-22T09:15:00.000Z"
},
"email": "john@acme.com",
"teamRole": "admin",
"organization": {
"id": "org-123",
"name": "Acme Corporation"
}
}
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Profile not found",
"code": "PROFILE_NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}