API Reference
GET
get_user_data/{user_id}Get User Data
Get User Data is a GET request to https://api.sharkcluster.com/get_user_data/{user_id} in the User Management section of the SharkCluster API. Retrieves full profile details, including role and status, for a specific user. It takes 1 parameter, 1 required (id).
Request URL
GET
https://api.sharkcluster.com/get_user_data/{user_id}How do you call Get User Data?
- 1Get a token from the login endpoint (POST /login) and send it as Authorization: Bearer <token>. See Login.
- 2Send a GET request to https://api.sharkcluster.com/get_user_data/{user_id}, replacing {user_id} in the path with your own value.
Request parameters
| Parameter | Type | Description |
|---|---|---|
idRequired | string | The Unique ID (UUID) of the user. |
AuthorizationRequired | header | Bearer token for authentication (e.g., Bearer eyJ...). |
What does Get User Data return?
A successful call returns a JSON object with the fields result, message and data. Check that result is true in the body: like many SharkCluster endpoints, a failure can come back with HTTP 200 and result: false. A failed call explains the problem in the body, for example "No such user found".
Request sample
const axios = require('axios');
axios.get('https://api.sharkcluster.com/get_user_data/USER_ID_HERE', {
headers: { 'Authorization': 'Bearer YOUR_TOKEN' }
})
.then(res => console.log(res.data));
Response
{
"result": true,
"message": "User Data Found",
"data": [
{
"user": {
"id": "00000000-0000-4000-8000-000000000002",
"affilateId": "576324",
"name": "John Doe",
"email": "[email protected]",
"mobile": null,
"password": "<redacted>",
"profile_img": null,
"twoFaSecret": null,
"twoFaEnabled": false,
"provider": null,
"provider_id": null,
"referredBy": null,
"commissionRate": 0,
"totalEarnings": 0,
"interestedCategories": [],
"chatConnectionStatus": true,
"currentRecipient": null,
"role": "user",
"pendingEarnings": 0,
"referrals": 0,
"products": [],
"status": "active",
"accountInfo": null,
"clicks": 0,
"affiliateLink": null,
"conversions": 0,
"paymentHistory": [],
"email_verification": true,
"confirm_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMSJ9.example-signature",
"supportCategories": [],
"assignedTickets": [],
"openTickets": 0,
"in_progressTickets": 0,
"resolvedTickets": 0,
"closedTickets": 0,
"reopenedTickets": 0,
"credit_balance": null,
"account_suspended": false,
"credit_expiry_date": null,
"billing_details_added": false,
"razorpay_customer_id": "cust_STLqgvIXc65VQx",
"card_verified": true,
"card_verified_at": "2026-03-20T04:50:23.458Z",
"card_verification_payment_id": "pay_STM0hWOiEEXsbO",
"card_verification_details": {
"email": "[email protected]",
"amount": 100,
"method": "card",
"status": "captured",
"contact": "+919876865478",
"currency": "INR",
"refunded_at": "2026-03-20T04:50:24.000Z",
"verified_at": "2026-03-20T04:50:23.458Z",
"refund_amount": 100,
"refund_status": "processed",
"card_reference": "card_STM0hvLcxjzkPl",
"razorpay_order_id": "order_STM0QZ9fc8sVBy",
"razorpay_refund_id": "rfnd_STM16jWYRdeplr",
"razorpay_payment_id": "pay_STM0hWOiEEXsbO"
},
"createdAt": "2025-02-18T09:57:28.869Z",
"updatedAt": "2026-03-11T05:20:14.011Z",
"_id": "00000000-0000-4000-8000-000000000002"
}
}
]
}Stuck on an integration?
Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.