RESTful API for barong OAuth server
BearerToken
jwt | undefined |
---|
Description | Bearer Token authentication |
Name | Authorization |
In | header |
Returns array of permissions as paginated collection
Code | Description |
---|
200 | Returns array of permissions as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Delete a profile for user
Name | Located in | Description | Required | Schema |
---|
uid | query | | Yes | string |
Code | Description |
---|
204 | Delete a profile for user |
400 | Required params are empty |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Update a profile for user
Name | Located in | Description | Required | Schema |
---|
uid | formData | | Yes | string |
first_name | formData | | No | string |
last_name | formData | | No | string |
dob | formData | | No | date |
address | formData | | No | string |
postcode | formData | | No | string |
city | formData | | No | string |
country | formData | | No | string |
metadata | formData | Any additional key: value pairs in json string format | No | string |
Code | Description |
---|
200 | Update a profile for user |
400 | Required params are empty |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Return all profiles
Name | Located in | Description | Required | Schema |
---|
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of profiles per page (defaults to 100, maximum is 100). | No | integer |
Code | Description |
---|
200 | Return all profiles |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Delete restriction
Name | Located in | Description | Required | Schema |
---|
id | query | Restriction id | Yes | integer |
Code | Description |
---|
204 | Delete restriction |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update restriction
Name | Located in | Description | Required | Schema |
---|
id | formData | Restriction id | Yes | integer |
scope | formData | | No | string |
value | formData | | No | string |
state | formData | | No | string |
Code | Description |
---|
200 | Update restriction |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Create restriction
Name | Located in | Description | Required | Schema |
---|
scope | formData | | Yes | string |
value | formData | | Yes | string |
state | formData | | No | string |
Code | Description |
---|
201 | Create restriction |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of restrictions as a paginated collection
Name | Located in | Description | Required | Schema |
---|
scope | query | | No | string |
range | query | | No | string |
from | query | | No | string |
to | query | | No | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of restrictions per page (defaults to 100, maximum is 1000). | No | integer |
Code | Description |
---|
200 | Returns array of restrictions as a paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns main statistic in the given time period
Name | Located in | Description | Required | Schema |
---|
created_from | query | | No | string |
created_to | query | | No | string |
Code | Description |
---|
200 | Returns main statistic in the given time period |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of activities as paginated collection
Name | Located in | Description | Required | Schema |
---|
topic | query | | No | string |
action | query | | No | string |
uid | query | | No | string |
email | query | | No | string |
target_uid | query | | No | string |
range | query | | No | string |
from | query | | No | string |
to | query | | No | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 100). | No | integer |
Code | Description |
---|
200 | Returns array of activities as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of activities as paginated collection
Name | Located in | Description | Required | Schema |
---|
topic | query | | No | string |
action | query | | No | string |
uid | query | | No | string |
email | query | | No | string |
from | query | | No | string |
to | query | | No | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 100). | No | integer |
Code | Description |
---|
200 | Returns array of activities as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update Permission
Name | Located in | Description | Required | Schema |
---|
id | formData | Permission id | Yes | integer |
role | formData | permission field - role | No | string |
verb | formData | permission field - request verb | No | string |
path | formData | permission field - request path | No | string |
action | formData | | No | string |
topic | formData | | No | string |
Code | Description |
---|
200 | Update Permission |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Deletes permission
Name | Located in | Description | Required | Schema |
---|
id | query | permission id | Yes | integer |
Code | Description |
---|
204 | Deletes permission |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Create permission
Name | Located in | Description | Required | Schema |
---|
role | formData | | Yes | string |
verb | formData | | Yes | string |
path | formData | | Yes | string |
action | formData | | Yes | string |
topic | formData | | No | string |
Code | Description |
---|
201 | Create permission |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of permissions as paginated collection
Name | Located in | Description | Required | Schema |
---|
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 100). | No | integer |
Code | Description |
---|
200 | Returns array of permissions as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns user info
Name | Located in | Description | Required | Schema |
---|
uid | path | user uniq id | Yes | string |
Code | Description |
---|
200 | Returns user info |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Deletes label for user
Name | Located in | Description | Required | Schema |
---|
uid | query | user uniq id | Yes | string |
key | query | label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | Yes | string |
scope | query | label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | Yes | string |
Code | Description |
---|
204 | Deletes label for user |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update user label scope
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
key | formData | Label key. | Yes | string |
scope | formData | label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | Yes | string |
value | formData | Label value. | Yes | string |
Code | Description |
---|
200 | Update user label scope |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Adds label for user
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
key | formData | label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | Yes | string |
value | formData | label value. [A-Za-z0-9_-] should be used. Min - 3, max - 255 characters. | Yes | string |
scope | formData | Label scope: 'public' or 'private'. Default is public | No | string |
Code | Description |
---|
201 | Adds label for user |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of users as paginated collection
Name | Located in | Description | Required | Schema |
---|
key | query | Label key | Yes | string |
value | query | Label value | Yes | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 1000). | No | integer |
Code | Description |
---|
200 | Returns array of users as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update user label value
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
key | formData | Label key. | Yes | string |
scope | formData | label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | Yes | string |
value | formData | Label value. | Yes | string |
replace | formData | When true label will be created if not exist | No | boolean |
Code | Description |
---|
201 | Update user label value |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Returns existing labels keys and values
Code | Description |
---|
200 | Returns existing labels keys and values |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of users with pending documents as paginated collection
Name | Located in | Description | Required | Schema |
---|
extended | query | When true endpoint returns full information about users | No | boolean |
uid | query | | No | string |
email | query | | No | string |
role | query | | No | string |
first_name | query | | No | string |
last_name | query | | No | string |
country | query | | No | string |
level | query | | No | integer |
state | query | | No | string |
range | query | | No | string |
from | query | | No | string |
to | query | | No | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 1000). | No | integer |
Code | Description |
---|
200 | Returns array of users with pending documents as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update user attributes
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
state | formData | user state | No | string |
otp | formData | user 2fa status | No | boolean |
Code | Description |
---|
200 | Update user attributes |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Returns array of users as paginated collection
Name | Located in | Description | Required | Schema |
---|
extended | query | When true endpoint returns full information about users | No | boolean |
uid | query | | No | string |
email | query | | No | string |
role | query | | No | string |
first_name | query | | No | string |
last_name | query | | No | string |
country | query | | No | string |
level | query | | No | integer |
state | query | | No | string |
range | query | | No | string |
from | query | | No | string |
to | query | | No | string |
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of users per page (defaults to 100, maximum is 100). | No | integer |
Code | Description |
---|
200 | Returns array of users as paginated collection |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update user role
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
role | formData | user role | Yes | string |
Code | Description |
---|
201 | Update user role |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update user attributes
Name | Located in | Description | Required | Schema |
---|
uid | formData | user uniq id | Yes | string |
state | formData | user state | No | string |
otp | formData | user 2fa status | No | boolean |
Code | Description |
---|
201 | Update user attributes |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Sets new account password
Name | Located in | Description | Required | Schema |
---|
reset_password_token | formData | Token from email | Yes | string |
password | formData | User password | Yes | string |
confirm_password | formData | User password | Yes | string |
lang | formData | Language in iso-2 format | No | string |
Code | Description |
---|
201 | Resets password |
400 | Required params are empty |
404 | Record is not found |
422 | Validation errors |
Send password reset instructions
Name | Located in | Description | Required | Schema |
---|
email | formData | Account email | Yes | string |
lang | formData | Language in iso-2 format | No | string |
Code | Description |
---|
201 | Generated password reset code |
400 | Required params are missing |
404 | User doesn't exist |
422 | Validation errors |
Confirms an account
Name | Located in | Description | Required | Schema |
---|
token | formData | Token from email | Yes | string |
lang | formData | Language in iso-2 format | No | string |
Code | Description |
---|
201 | Confirms an account |
400 | Required params are missing |
422 | Validation errors |
Send confirmations instructions
Name | Located in | Description | Required | Schema |
---|
email | formData | Account email | Yes | string |
lang | formData | Client env language | No | string |
Code | Description |
---|
201 | Generated verification code |
400 | Required params are missing |
422 | Validation errors |
Register Geetest captcha
Code | Description |
---|
200 | Register Geetest captcha |
Creates new user
Name | Located in | Description | Required | Schema |
---|
email | formData | User Email | Yes | string |
password | formData | User Password | Yes | string |
refid | formData | Referral uid | No | string |
lang | formData | Client env language | No | string |
captcha_response | formData | Response from captcha widget | No | string |
data | formData | Any additional key: value pairs in json string format | No | string |
Code | Description |
---|
201 | Creates new user |
400 | Required params are missing |
422 | Validation errors |
Destroy current session
Code | Description |
---|
204 | Destroy current session |
400 | Required params are empty |
404 | Record is not found |
Start a new session
Name | Located in | Description | Required | Schema |
---|
email | formData | | Yes | string |
password | formData | | Yes | string |
captcha_response | formData | Response from captcha widget | No | string |
otp_code | formData | Code from Google Authenticator | No | string |
Code | Description |
---|
201 | Start a new session |
400 | Required params are empty |
404 | Record is not found |
Get barong version
Code | Description |
---|
200 | Get barong version |
Get server current unix timestamp.
Code | Description |
---|
200 | Get server current unix timestamp. |
Test connectivity
Code | Description |
---|
200 | Test connectivity |
List all api keys for current account.
Name | Located in | Description | Required | Schema |
---|
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of api keys per page (defaults to 100, maximum is 1000). | No | integer |
Code | Description |
---|
200 | List all api keys for current account. |
400 | Require 2FA and totp code |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Create an api key
Name | Located in | Description | Required | Schema |
---|
algorithm | formData | | Yes | string |
kid | formData | | No | string |
scope | formData | comma separated scopes | No | string |
totp_code | formData | Code from Google Authenticator | Yes | string |
Code | Description |
---|
201 | Create an api key |
400 | Required params are empty |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Delete an api key
Name | Located in | Description | Required | Schema |
---|
kid | path | | Yes | string |
totp_code | query | Code from Google Authenticator | Yes | string |
Code | Description |
---|
204 | Succefully deleted |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
Security Schema | Scopes |
---|
BearerToken | |
Updates an api key
Name | Located in | Description | Required | Schema |
---|
kid | path | | Yes | string |
scope | formData | comma separated scopes | No | string |
state | formData | State of API Key. "active" state means key is active and can be used for auth | No | string |
totp_code | formData | Code from Google Authenticator | Yes | string |
Code | Description |
---|
200 | Updates an api key |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Verify 2FA code
Name | Located in | Description | Required | Schema |
---|
code | formData | Code from Google Authenticator | Yes | string |
Code | Description |
---|
201 | Verify 2FA code |
400 | 2FA has not been enabled for this account or code is missing |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Disable 2FA
Name | Located in | Description | Required | Schema |
---|
code | formData | Code from Google Authenticator | Yes | string |
Code | Description |
---|
201 | Disable 2FA |
400 | 2FA has not been enabled for this account or code is missing |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Enable 2FA
Name | Located in | Description | Required | Schema |
---|
code | formData | Code from Google Authenticator | Yes | string |
Code | Description |
---|
201 | Enable 2FA |
400 | 2FA has been enabled for this account or code is missing |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Generate qr code for 2FA
Code | Description |
---|
201 | Generate qr code for 2FA |
400 | 2FA has been enabled for this account |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Verify a phone
Name | Located in | Description | Required | Schema |
---|
phone_number | formData | Phone number with country code | Yes | string |
verification_code | formData | Verification code from sms | Yes | string |
Code | Description |
---|
201 | Verify a phone |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
Security Schema | Scopes |
---|
BearerToken | |
Resend activation code
Name | Located in | Description | Required | Schema |
---|
phone_number | formData | Phone number with country code | Yes | string |
channel | formData | The verification method to use | No | string |
Code | Description |
---|
201 | Resend activation code |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Add new phone
Name | Located in | Description | Required | Schema |
---|
phone_number | formData | Phone number with country code | Yes | string |
channel | formData | The verification method to use | No | string |
Code | Description |
---|
201 | Add new phone |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Returns list of user's phones
Code | Description |
---|
200 | Returns list of user's phones |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Upload a new document for current user
Name | Located in | Description | Required | Schema |
---|
doc_type | formData | Document type | Yes | string |
doc_number | formData | Document number | Yes | string |
upload | formData | Array of Rack::Multipart::UploadedFile | Yes | string |
doc_expire | formData | Document expiration date | No | date |
metadata | formData | Any additional key: value pairs in json string format | No | string |
Code | Description |
---|
201 | Document is uploaded |
400 | Required params are empty |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Return current user documents list
Code | Description |
---|
200 | Return current user documents list |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Update a profile for current_user
Name | Located in | Description | Required | Schema |
---|
first_name | formData | | No | string |
last_name | formData | | No | string |
dob | formData | | No | date |
address | formData | | No | string |
postcode | formData | | No | string |
city | formData | | No | string |
country | formData | | No | string |
metadata | formData | Any additional key: value pairs in json string format | No | string |
Code | Description |
---|
200 | Update a profile for current_user |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Create a profile for current_user
Name | Located in | Description | Required | Schema |
---|
first_name | formData | | No | string |
last_name | formData | | No | string |
dob | formData | | No | date |
address | formData | | No | string |
postcode | formData | | No | string |
city | formData | | No | string |
country | formData | | No | string |
metadata | formData | Any additional key: value pairs in json string format | No | string |
Code | Description |
---|
201 | Create a profile for current_user |
400 | Required params are empty |
401 | Invalid bearer token |
409 | Profile already exists |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Return profile of current resource owner
Code | Description |
---|
200 | Return profile of current resource owner |
401 | Invalid bearer token |
404 | User has no profile |
Security Schema | Scopes |
---|
BearerToken | |
Delete a label with 'public' scope.
Name | Located in | Description | Required | Schema |
---|
key | path | Label key. | Yes | string |
Code | Description |
---|
204 | Succefully deleted |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
Security Schema | Scopes |
---|
BearerToken | |
Update a label with 'public' scope.
Name | Located in | Description | Required | Schema |
---|
key | path | Label key. | Yes | string |
value | formData | Label value. | Yes | string |
Code | Description |
---|
200 | Update a label with 'public' scope. |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
Return a label by key.
Name | Located in | Description | Required | Schema |
---|
key | path | Label key. | Yes | string |
Code | Description |
---|
200 | Return a label by key. |
400 | Required params are empty |
401 | Invalid bearer token |
404 | Record is not found |
Security Schema | Scopes |
---|
BearerToken | |
Create a label with 'public' scope.
Name | Located in | Description | Required | Schema |
---|
key | formData | Label key. | Yes | string |
value | formData | Label value. | Yes | string |
Code | Description |
---|
201 | Create a label with 'public' scope. |
400 | Required params are empty |
401 | Invalid bearer token |
422 | Validation errors |
Security Schema | Scopes |
---|
BearerToken | |
List all labels for current user.
Code | Description |
---|
200 | List all labels for current user. |
401 | Invalid bearer token |
Security Schema | Scopes |
---|
BearerToken | |
Sets new account password
Name | Located in | Description | Required | Schema |
---|
old_password | formData | Previous account password | Yes | string |
new_password | formData | User password | Yes | string |
confirm_password | formData | User password | Yes | string |
lang | formData | Language in iso-2 format | No | string |
Code | Description |
---|
201 | Changes password |
400 | Required params are empty |
404 | Record is not found |
422 | Validation errors |
Returns user activity
Name | Located in | Description | Required | Schema |
---|
page | query | Page number (defaults to 1). | No | integer |
limit | query | Number of activity per page (defaults to 100, maximum is 1000). | No | integer |
topic | path | Topic of user activity. Allowed: [all, password, session, otp] | Yes | string |
Code | Description |
---|
200 | Returns user activity |
Returns current user
Name | Located in | Description | Required | Schema |
---|
password | query | Account password | Yes | string |
otp_code | query | Code from Google Authenticator | No | string |
Code | Description |
---|
204 | Returns current user |
Returns current user
Code | Description |
---|
200 | Returns current user |
Name | Type | Description | Required |
---|
id | integer | Level identifier, level number | No |
key | string | Label key. [A-Za-z0-9_-] should be used. Min - 3, max - 255 characters. | No |
value | string | Label value. [A-Za-z0-9_-] should be used. Min - 3, max - 255 characters. | No |
Name | Type | Description | Required |
---|
key | string | Label key. [a-z0-9_-]+ should be used. Min - 3, max - 255 characters. | No |
value | string | Label value. [A-Za-z0-9_-] should be used. Min - 3, max - 255 characters. | No |
scope | string | Label scope: 'public' or 'private' | No |
created_at | string | | No |
updated_at | string | | No |
Name | Type | Description | Required |
---|
kid | string | jwt public key | No |
algorithm | string | cryptographic hash function type | No |
scope | string | serialized array of scopes | No |
state | string | active/non-active state of key | No |
secret | string | | No |
created_at | string | | No |
updated_at | string | | No |
Name | Type | Description | Required |
---|
first_name | string | | No |
last_name | string | | No |
dob | date | Birthday date | No |
address | string | | No |
postcode | string | | No |
city | string | | No |
country | string | | No |
state | string | | No |
metadata | object | Profile additional fields | No |
Name | Type | Description | Required |
---|
email | string | | No |
uid | string | | No |
role | string | | No |
level | integer | | No |
otp | boolean | is 2FA enabled for account | No |
state | string | | No |
referral_uid | string | UID of referrer | No |
data | string | additional phone and profile info | No |
Name | Type | Description | Required |
---|
email | string | | No |
uid | string | | No |
role | string | | No |
level | integer | | No |
otp | boolean | is 2FA enabled for account | No |
state | string | | No |
data | string | additional phone and profile info | No |
profile | Profile | | No |
referral_uid | string | UID of referrer | No |
created_at | string | | No |
updated_at | string | | No |
Name | Type | Description | Required |
---|
email | string | | No |
uid | string | | No |
role | string | | No |
level | integer | | No |
otp | boolean | | No |
state | string | | No |
data | string | additional phone and profile info | No |
profile | Profile | | No |
labels | Label | | No |
phones | Phone | | No |
documents | Document | | No |
referral_uid | string | UID of referrer | No |
created_at | string | | No |
updated_at | string | | No |
Name | Type | Description | Required |
---|
country | string | | No |
number | string | | No |
validated_at | s (g) | | No |
Name | Type | Description | Required |
---|
upload | string | file url | No |
doc_type | string | document type: passport, driver license | No |
doc_number | string | document number: AB123123 type | No |
doc_expire | string | expire date of uploaded documents | No |
metadata | string | any additional stored data | No |
created_at | string | | No |
updated_at | string | | No |
Name | Type | Description | Required |
---|
email | string | | No |
uid | string | | No |
role | string | | No |
level | integer | | No |
otp | boolean | | No |
state | string | | No |
referral_uid | string | UID of referrer | No |
data | string | additional phone and profile info | No |
created_at | string | | No |
updated_at | string | | No |
labels | Label | | No |
phones | Phone | | No |
profile | Profile | | No |
Name | Type | Description | Required |
---|
user_ip | string | | No |
user_agent | string | | No |
topic | string | | No |
action | string | | No |
result | string | | No |
data | string | | No |
created_at | string | | No |