API

Mendapatkan data pengguna

GET/api/crm/v2/application.user_infov2
operationId: application.userInfo

Mengembalikan data akun.

Otorisasi

api-token + language + role

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
user_idnumberwajib

Contoh: 1

user_namestring

Contoh: Juan Carlos II | Pizza

namestring

Contoh: John Smith

emailstring

Alamat email pengguna, juga digunakan sebagai login

Contoh: user@example.com

confirmedboolean

Apakah email pengguna telah dikonfirmasi

Contoh: true

timezonestringwajib

Contoh: Europe/Kaliningrad

languagestringwajib

Contoh: ru

photostring

Contoh: https://cdn.foodsoul.dev/users/images/5f90d2fced4d461aea09e1cd41787d9d.jpg?v1755515629

confirmation_of_actions_enabledboolean

Contoh: true

otp_enabledbooleanwajib

Contoh: true

ios_account_infoboolean

Contoh: true

translator_settingsobject
section_enabledboolean

Contoh: true

language_available_filesarray of string
language_not_available_filesarray of string
language_codesarray of string
language_platformsarray of string
edit_actions_enabledbooleanwajib

Contoh: true

compilation_action_enabledbooleanwajib

Contoh: true

permissionsarray of stringwajib

Nama semua peran pengguna; akses diberikan jika setidaknya satu peran mengizinkannya

metadataobjectdapat bernilai null

Pengaturan pribadi pengguna di CRM; null — tidak ada yang disimpan

themestring

Nilai:darklight

Contoh: dark

menustring

Nilai:horizontalvertical

Contoh: horizontal

pinned_sectionsarray of integer
permission_role_idsarray of integer

ID peran pengguna; urutan sesuai dengan permissions

percent_rateinteger

Contoh: 10

socialobject
free_pushobjectwajib
activebooleanwajib

Contoh: false

linkstringwajib

Contoh: push_notifications

sitesobjectwajib
activebooleanwajib

Contoh: false

linkstringwajib

Contoh: sites_domains

vkobject
activebooleanwajib

Contoh: false

linkstringwajib

Dapat berupa tautan eksternal

Contoh: social_apps

fbobject
activebooleanwajib

Contoh: false

linkstringwajib

Dapat berupa tautan eksternal

Contoh: social_apps

iosobjectwajib
activebooleanwajib

Contoh: false

linkstringwajib

Dapat berupa tautan eksternal

Contoh: https://app

androidobjectwajib
activebooleanwajib

Contoh: false

linkstringwajib

Dapat berupa tautan eksternal

Contoh: https://app

huaweiobjectwajib
activebooleanwajib

Contoh: false

linkstringwajib

Dapat berupa tautan eksternal

Contoh: https://app

hierarchyobject
chainsobject
idsarray of integer
branchesobject
idsarray of integer
citiesobject
idsarray of integer