Get User
Retrieve detailed information about a specific user within a project.
GET
/v2/projects/{project_id}/users/{user_id}Authorization
Bearer TokenRequired
Path Parameters
project_idstringRequired
The unique identifier of the project.
user_idstringRequired
The unique identifier of the user (numeric ID).
Request
curl -X GET "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/users/123456789012345678" \
-H "Authorization: Bearer YOUR_TOKEN"{
"ok": true,
"request_id": "11111111-1111-1111-1111-111111111111",
"method": "GET",
"path": "/v2/projects/YOUR_PROJECT_ID/users/123456789012345678",
"code": 200,
"message": "User retrieved successfully",
"data": {
"user_id": "123456789012345678",
"user_first_seen": "2025-01-15T10:30:00.000Z",
"user_last_seen": "2025-01-20T14:00:00.000Z",
"is_admin": false,
"is_banned": false,
"user_name": {
"first_name": "John",
"username": "johndoe"
},
"balance": "0",
"currency": "USD"
}
}Last updated: