Profil ayarlarını al
GET/api/crm/v2/profilev2
operationId: profile.default
Geçerli kullanıcının profil ayarlarını döndürür. Geçerli oturum is_current ile işaretlenmiştir.
Yetkilendirme
api-token + language + role
Yanıtlar
object
statusstringzorunlu
Değerler:successerror
Örnek: success
dataobject
namestring
Kullanıcı adı; boş olabilir
Örnek: John Smith
emailstring
Geçerli giriş; yalnızca profile.request_email_change üzerinden ve yalnızca onaylandıktan sonra değiştirilebilir
Örnek: user@fs.pro
confirmedboolean
Örnek: true
email_confirmationobject
Aktif bir adres onay isteği; yoksa null. Eğer email mevcut adresle aynıysa, istek kayıt onayını belirtir, aksi takdirde adres değişikliğini belirtir.
emailstring
Örnek: new@fs.pro
date_creationstring (DataTimeFormatSQL)
Örnek: 2024-05-02 08:31:16
date_expirationstring (DataTimeFormatSQL)
Örnek: 2024-05-02 08:31:16
phone_format_idinteger (PhoneFormatId)
Ülke kodu: 1-🇷🇺(+7|8), 2-🇦🇿(+994|0), 3-🇧🇾(+375|80), 4-🇰🇿(+7|8), 6-🇷🇸(+381|0), 7-🇹🇷(+90|0), 8-🇺🇦(+380|0), 9-🇵🇹(+351|0), 10-🇰🇬(+996|0), 11-🇺🇸(+1), 12-🇫🇷(+33|0), 13-🇲🇩(+373|0), 15-🇪🇪(+372), 18-🇬🇪(+995), 19-🇺🇿(+998), 22-🇵🇱(+48|0), 23-🇹🇯(+992|8), 25-🇷🇴(+40|0), 44-🇨🇭(+41|0)
Örnek: 1
phone_numberstring
Örnek: 9999999999
telegram_user_idstring
Örnek: 476962294
timezonestring
Örnek: Europe/Kaliningrad
photostring
Örnek: https://cdn.foodsoul.test/users/images/b4374f57329de384b95e7abdaddb9ffa.jpg?v1744970341
otp_enabledboolean
Örnek: false
tokenstring
Örnek: 92f8ef94a3651255101139e6d2261785
tg_bot_namestring
Örnek: fs_system_notifications_bot
max_bot_namestring
Örnek: fs_system_notifications_bot
secretstringzorunlu
Örnek: HF4DO4LYGM2G643E
qrstringzorunlu
Örnek: https://api.qrserver.com/v1/create-qr-code/?data=otpauth%3A%2F%2Ftotp%2FFS%2520Partner%3Aglasscat86%40gmail.com%3Fsecret%3DNMYXKRZVOF5DQ2JW%26issuer%3DFS%2520Partner&size=520x520&margin=15
sessionsarray of object
Kullanıcının aktif oturumları
date_last_usedstring
Örnek: 2026-08-03 15:13:58
ip_addressstring
Örnek: 78.36.200.161
user_agentstring
Örnek: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
is_currentboolean
Örnek: true