Profile
INFO
Every response arrives in the shared envelope — code, message, messages, status_code, time — with the payload in data. The tables below describe what is inside data.
GET /profile/getMe
Get profile
Required permission: none — closed to an app that declares permissions · how permissions work
Example request
bash
curl -X GET 'https://api.bito.uz/integration-api/integration/api/v2/profile/getMe' \
-H "api-key: $BITO_API_KEY"js
const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/profile/getMe', {
method: 'GET',
headers: { 'api-key': process.env.BITO_API_KEY },
})
const { code, data } = await res.json()python
import os
import requests
res = requests.request(
"GET",
"https://api.bito.uz/integration-api/integration/api/v2/profile/getMe",
headers={"api-key": os.environ["BITO_API_KEY"]},
)
print(res.json())php
<?php
$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/profile/getMe');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY')],
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);Request body
No request body.
Response
| Field | Type | Description |
|---|---|---|
id | string | User ID |
user_name | string | User name |
is_demo | boolean | User demo status |
status | string | User status. One of: active, blocked, warning. Default: "active" |
expiration_date | string (date-time) | User expiration date |
license_count | number | Number of licenses |
json
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"id": "string",
"user_name": "string",
"is_demo": false,
"status": "active",
"expiration_date": "2025-05-01T12:00:00Z",
"license_count": 0
},
"time": "2025-05-01T12:00:00Z"
}This page is generated from the OpenAPI spec.