curl --request GET \
--url https://app.mlm-platform.com/api/v1/members/{userId}/profile \
--header 'x-tenant-api-key: <api-key>'import requests
url = "https://app.mlm-platform.com/api/v1/members/{userId}/profile"
headers = {"x-tenant-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-tenant-api-key': '<api-key>'}};
fetch('https://app.mlm-platform.com/api/v1/members/{userId}/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://app.mlm-platform.com/api/v1/members/{userId}/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-tenant-api-key: <api-key>"
],
]);
$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://app.mlm-platform.com/api/v1/members/{userId}/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-tenant-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.mlm-platform.com/api/v1/members/{userId}/profile")
.header("x-tenant-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.mlm-platform.com/api/v1/members/{userId}/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-tenant-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"givenName": "Tai Man",
"surname": "Chan",
"dateOfBirth": "1990-06-15",
"idNumber": "A1234567",
"email": "jsmith@example.com",
"countryCode": "HKG",
"address": {
"countryCode": "PHL",
"addressLine1": "123 Rizal Avenue",
"addressLine2": "Unit 4B, Sunrise Building",
"city": "Makati City",
"state": "Metro Manila",
"postalCode": "1200",
"district": "Barangay Poblacion",
"neighborhood": "<string>",
"addressType": "residential"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Get member profile
Retrieves the member’s profile including country code and address information.
Authentication: Requires tenant API key or session authentication.
Access Control: Members can access their own profile. Admins and API keys can access any user in the tenant.
curl --request GET \
--url https://app.mlm-platform.com/api/v1/members/{userId}/profile \
--header 'x-tenant-api-key: <api-key>'import requests
url = "https://app.mlm-platform.com/api/v1/members/{userId}/profile"
headers = {"x-tenant-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-tenant-api-key': '<api-key>'}};
fetch('https://app.mlm-platform.com/api/v1/members/{userId}/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://app.mlm-platform.com/api/v1/members/{userId}/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-tenant-api-key: <api-key>"
],
]);
$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://app.mlm-platform.com/api/v1/members/{userId}/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-tenant-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.mlm-platform.com/api/v1/members/{userId}/profile")
.header("x-tenant-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.mlm-platform.com/api/v1/members/{userId}/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-tenant-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"givenName": "Tai Man",
"surname": "Chan",
"dateOfBirth": "1990-06-15",
"idNumber": "A1234567",
"email": "jsmith@example.com",
"countryCode": "HKG",
"address": {
"countryCode": "PHL",
"addressLine1": "123 Rizal Avenue",
"addressLine2": "Unit 4B, Sunrise Building",
"city": "Makati City",
"state": "Metro Manila",
"postalCode": "1200",
"district": "Barangay Poblacion",
"neighborhood": "<string>",
"addressType": "residential"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Authorizations
Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.
Path Parameters
Response
Member profile
Member profile information including identity fields for KYC and payout accounts
Member user ID
Member display name (full name)
First/given name for KYC verification
"Tai Man"
Last/family name for KYC verification
"Chan"
Date of birth in YYYY-MM-DD format
"1990-06-15"
Government ID number (country-specific - HKID, SSN last 4, etc.)
"A1234567"
Member email address
ISO 3166-1 alpha-3 country code
3"HKG"
Member address following international address formats
Show child attributes
Show child attributes