Skip to main content

IAM APIs

IAM Api service is related to user accounts, such as generating verification email, creating user token and other user-related service.

More about IAM API documentation

API


Regenerate Verification Email

Regenerate user verification email.

Description:
  • Allows you to regenerate a user verification email.

GET

/v1/iam/auth/email/regenerate

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
emailqueryemailYesstring
Responses
CodeDescriptionSchema
200Email has been sent successfully.ResponseEntity
400Email verification unsuccessful.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Email Verification

User email verification API.

Description:
  • Allows you to verify user email.

GET

/v1/iam/auth/email/verification

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
tokenquerytokenYesstring
userqueryuserYesstring
Responses
CodeDescriptionSchema
200Email has been verified successfully.string
401Unauthorized
403Forbidden
404The Confirmation link is invalid. Please generate a new confirmation link.
410Email Token has been expired.
Security
Security SchemaScopes
Authorizationglobal

User Logout

User Logout API.

Description:
  • Allows you to start a new logout session.
  • Allows you to redirect user to login page after successful logout.

GET

/v1/iam/auth/logout

Request URL
https://bifrost.deskera.com/v1/iam/auth/logout
Curl
curl -X GET "https://bifrost.deskera.com/v1/iam/auth/logout" -H "accept: application/json" -H "x-access-token: sampleaccesstoken"
Responses
CodeDescriptionSchema
200OK
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Get RefreshToken

Get new tokens using tenantid in case existing is expired.

Description:
  • Allows you to create new token when existing token expired.

POST

/v1/iam/auth/mobile/getrefreshtoken

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
refreshTokenRequestbodyrefreshTokenRequestYesRefreshTokenRequest
{
"refreshToken": "eyJjdHkiOiJKV1QiLCJlbmMiOiJ..",
"tenantId": 123456,
"userName": "+65-1234-5678"
}
{
"accessToken": "eyJraWQi...",
"expiresIn": 3600,
"idToken": "eyJhbGci...",
"refreshToken": "eyJjdHki...",
"tokenType": "Bearer"
}
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

Confirm Forgot Password

Confirm forgot password.

Description:
  • Allows you to confirm a forgot password request.
  • Allows you to change your existing password to the new password.

POST

/v1/iam/auth/password/confirm

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
confirmPasswordRequestbodyconfirmPasswordRequestYesConfirmPasswordRequest
Responses
CodeDescriptionSchema
200User has set new password successfully.
201Created
400User's new password request failed.
401Unauthorized
403Forbidden
404User's new password request failed.
Security
Security SchemaScopes
Authorizationglobal

Forgot Password

Forgot password.

Description:
  • Allows you to create a confirmation code and sent it out when you forgot your password.

POST

/v1/iam/auth/password/forgot

Request URL
https://bifrost.deskera.com/v1/iam/auth/password/forgot
Curl
curl -X POST "https://bifrost.deskera.com/v1/iam/auth/password/forgot" -H "accept: application/json" -H "x-access-token: sampleaccesstoken" -H "Content-Type: application/json" -d "{ \"userName\": \"+65-1234-5678\"}"
Parameters
NameLocated inDescriptionRequiredSchema
forgotPasswordRequestbodyforgotPasswordRequestYesForgotPasswordRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.
201Created
400Failed to initiate forgot password confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate forgot password confirmation code.
Security
Security SchemaScopes
Authorizationglobal

User Login Status

User Login status.

Description:
  • Allows you to fetch User Login status based on cookie or access token header.

GET

/v1/iam/auth/sign-in/login/status

Request URL

IAM API documentation

Responses
CodeDescriptionSchema
200Signin has been successfully.AuthenticationResultTypeDto
400Failed to authenticate user credentials.
401Unauthorized
403Forbidden
404Failed to authenticate user credentials.
Security
Security SchemaScopes
Authorizationglobal

Mobile Sign-in

Signin API to receive verification code and session.

Description:
  • Allows you to create new mobile sign-in session.
  • Allows you to create and send out verification code to user.

POST

/v1/iam/auth/sign-in/mobile

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
otpRequestbodyotpRequestYesOtpRequest
Confirmation code has been sent successfully.
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.string
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

Mobile Token

Verify Api to get token against verification code.

Description:
  • Allows you to create token after successful verification for mobile.

POST

/v1/iam/auth/sign-in/mobile/verify

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
otpVerificationRequestbodyotpVerificationRequestYesOtpVerificationRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

Web Sign-In

Web Signin API to authenticate with username and password.

Description:
  • Allows you to authenticate with username and password for web sign-in.

POST

/v1/iam/auth/sign-in/web/sign-in

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
webSignInRequestbodywebSignInRequestYesWebSignInRequest
Responses
CodeDescriptionSchema
200Signin has been successfully.AuthenticationResultTypeDto
201Created
400Failed to authenticate user credentials.
401Unauthorized
403Forbidden
404Failed to authenticate user credentials.
Security
Security SchemaScopes
Authorizationglobal

Mobile Sign-Up

Sign up using contact number.

Description:
  • Allows you to sign up with contact number for mobile.

POST

/v1/iam/auth/sign-up/mobile

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
mobileSignupRequestbodymobileSignupRequestYesMobileSignupRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Web Sign-Up

Sign up using contact, email and password.

Description:
  • Allows you to sign up using contact, email and password for web.

POST

/v1/iam/auth/sign-up/web

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
webSignupRequestbodywebSignupRequestYesWebSignupRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Check Existing User

Api to check if user email or contact exists.

Description:
  • Allows you to check if user email or contact exists.

GET

/v1/iam/auth/user

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
actionqueryPossible value for actionYesstring
contactqueryContact of userYesstring
emailIdqueryEmail of userYesstring
Responses
CodeDescriptionSchema
200Check existing user details have been fetched successfully.CheckExistingUserResponse
400Check existing user details failed.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Web Token

Get new token using tenantid in case existing is expired.

Description:
  • Allows you to create new token using tenantid when existing token expired.

POST

/v1/iam/auth/web/getrefreshtoken

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
refreshTokenRequestbodyrefreshTokenRequestYesRefreshTokenRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

Create User

User Creation.

Description:
  • Allows you to create a new user.

POST

/v1/iam/users

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
appUserCreateRequestbodyappUserCreateRequestYesAppUserCreateRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Bulk Invite User

Invite bulk user to a tenant.

Description:
  • Allows you to invite bulk user to a tenant.

POST

/v1/iam/users/bulk-invite

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
inviteBulkUserRequestsbodyinviteBulkUserRequestsYes[ InviteBulkUserRequest ]
Responses
CodeDescriptionSchema
200User added to a tenant successfully[ UserDto ]
201Created
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

Change Password

Change user password.

Description:
  • Allows you to change password.

POST

/v1/iam/users/change-password

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
userChangePasswordRequestbodyuserChangePasswordRequestYesUserChangePasswordRequest
Responses
CodeDescription
200Password changed successfully.
201Created
401Unauthorized
403Forbidden
404User not found
Security
Security SchemaScopes
Authorizationglobal

Mobile - User Email De-linking

Mobile user email De-linking.

Description:
  • Allows you to unlink email from mobile user.

POST

Request URL

IAM API documentation

Responses
CodeDescriptionSchema
200Email de-link successfully.string
201Created
400Email de-link unsuccessful
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Mobile - User Email Linking

Mobile user email linking.

Description:
  • Allows you to link email to mobile user.

POST

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
emailbodyemailYesstring
Responses
CodeDescriptionSchema
200A verification email has been sent successfully.ResponseEntity
201Created
208User email is already linked.ResponseEntity
400A verification email has not been sent successfully.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Add User

Add/invite a user to a tenant.

Description:
  • Allows you to add/invite a user to a tenant.

POST

/v1/iam/users/tenants

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
userTenantMappingrequestbodyuserTenantMappingrequestYesUserTenantRelRequest
Responses
CodeDescriptionSchema
200User added to a tenant successfullyUserDto
201Created
208User with same tenant already exists!UserDto
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

Retrieve User

Get user by id.

Description:
  • Allows you to get user information by id.

GET

/v1/iam/users/{id}

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
Responses
CodeDescriptionSchema
200User information has been fetched successfully.AppUserResponseInfo
401Unauthorized
403Forbidden
404User does not exist.
Security
Security SchemaScopes
Authorizationglobal

Update User

Update user information.

Description:
  • Allows you to update user information.

PUT

/v1/iam/users/{id}

Request URL

IAM API documentation

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
userDtobodyuserDtoYesUserDto
Responses
CodeDescriptionSchema
200User has been updated successfully.UserDto
201Created
400User does not exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

sign-up-controller

Auth Management

/v1/iam/auth/app/getrefreshtoken

POST

Summary

Get new tokens using tenantid in case existing is expired

Description

Get new tokens using tenantid in case existing is expired

Parameters
NameLocated inDescriptionRequiredSchema
refreshTokenRequestbodyrefreshTokenRequestYesRefreshTokenRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/books/invite/status

GET

Summary

Get Invite status for the invite code

Description

API to get Invite status for the invite code

Parameters
NameLocated inDescriptionRequiredSchema
codequerycodeYesstring
Responses
CodeDescriptionSchema
200Successfully retreived the status for Invite codeInviteStatusResponse
401Unauthorized
403Forbidden
404Not Found
500Server error while retreiving the status for Invite code
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/mobile/getrefreshtoken

POST

Summary

Get new tokens using tenantid in case existing is expired

Description

Get new tokens using tenantid in case existing is expired

Parameters
NameLocated inDescriptionRequiredSchema
refreshTokenRequestbodyrefreshTokenRequestYesRefreshTokenRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/password/confirm

POST

Summary

Confirm forgot password

Description

Confirm forgot password

Parameters
NameLocated inDescriptionRequiredSchema
confirmPasswordRequestbodyconfirmPasswordRequestYesConfirmPasswordRequest
Responses
CodeDescriptionSchema
200User has set new password successfully.OtpResponse
201Created
400User's new password request failed.
401Unauthorized
403Forbidden
404User's new password request failed.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/password/forgot

POST

Summary

Forgot password

Description

Forgot password

Parameters
NameLocated inDescriptionRequiredSchema
forgotPasswordRequestbodyforgotPasswordRequestYesForgotPasswordRequest
Responses
CodeDescription
200Confirmation code has been sent successfully.
201Created
400Failed to initiate forgot password confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate forgot password confirmation code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-up/affiliate

POST

Summary

Affiliate Sign up

Description

Affiliate Sign up

Parameters
NameLocated inDescriptionRequiredSchema
affiliateSignupRequestbodyaffiliateSignupRequestYesAffiliateSignupRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-up/books/invite

POST

Summary

Signup using invitation code

Description

Signup using invitation code

Parameters
NameLocated inDescriptionRequiredSchema
signUpWithInviteRequestbodysignUpWithInviteRequestYesSignUpWithInviteRequest
Responses
CodeDescriptionSchema
200OKAuthenticationResultTypeDto
201User has been created successfully.AuthenticationResultTypeDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-up/employee/invite

POST

Summary

Set password and sign in employee with invitation code

Description

Set password and sign in employee with invitation code

Parameters
NameLocated inDescriptionRequiredSchema
signUpWithInviteRequestbodysignUpWithInviteRequestYesSignUpWithInviteRequest
Responses
CodeDescriptionSchema
200OKAuthenticationResultTypeDto
201User has been created successfully.AuthenticationResultTypeDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-up/mobile

POST

Summary

Signup using contact no

Description

Signup using contact no

Parameters
NameLocated inDescriptionRequiredSchema
mobileSignupRequestWithOrgbodymobileSignupRequestWithOrgYesMobileSignupRequestWithOrg
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-up/web

POST

Summary

Signup using contact, email and password

Description

Signup using contact, email and password

Parameters
NameLocated inDescriptionRequiredSchema
webSignupRequestbodywebSignupRequestYesWebSignupRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/user

GET

Summary

Api to check if user email or contact exists.

Description

Api to check if user email or contact exists.

Parameters
NameLocated inDescriptionRequiredSchema
actionqueryactionNostring
contactqueryContact of userNostring
emailIdqueryEmail of userNostring
Responses
CodeDescriptionSchema
200Check existing user details have been fetched successfully.CheckExistingUserResponse
400Check existing user details failed.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/user/invite

POST

Summary

Invite user

Description

Invite user

Parameters
NameLocated inDescriptionRequiredSchema
inviteRequestbodyinviteRequestYesInviteRequest
Responses
CodeDescriptionSchema
200Invite code has been sent.object
201Created
400Failed to initiate invite.
401Unauthorized
403Forbidden
404Failed to initiate invite.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/user/verify-invite

POST

Summary

Verify invite user

Description

Verify invite user

Parameters
NameLocated inDescriptionRequiredSchema
inviteVerificationRequestbodyinviteVerificationRequestYesInviteVerificationRequest
Responses
CodeDescriptionSchema
200Invite code Verified.UserDto
201Created
400Failed to Verify invite code.
401Unauthorized
403Forbidden
404Failed to Verify invite code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/web/getrefreshtoken

POST

Summary

Get new tokens using tenantid in case existing is expired

Description

Get new tokens using tenantid in case existing is expired

Parameters
NameLocated inDescriptionRequiredSchema
refreshTokenRequestbodyrefreshTokenRequestYesRefreshTokenRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

email-verification-controller

User email verification

/v1/iam/auth/email/regenerate

GET

Summary

/regenerate

Description

Regenerate Email verification API

Parameters
NameLocated inDescriptionRequiredSchema
emailqueryemailYesstring
Responses
CodeDescriptionSchema
200Email has been sent successfully.ResponseEntity
400Email verification unsuccessful.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/email/verification

GET

Summary

/verification

Description

Email verification API

Parameters
NameLocated inDescriptionRequiredSchema
tokenquerytokenYesstring
userqueryuserYesstring
Responses
CodeDescriptionSchema
200Email has been verified successfully.string
401Unauthorized
403Forbidden
404The Confirmation link is invalid. Please generate a new confirmation link.
410Email Token has been expired.
Security
Security SchemaScopes
Authorizationglobal

logout-controller

Logout Controller

/v1/iam/auth/logout

GET

Summary

logout

Responses
CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/logout2

GET

Summary

logout2

Responses
CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

mobile-social-auth-controller

Social Auth Management

/v1/iam/auth/mobile/social

POST

Summary

Social Auth

Description

Social Auth

Parameters
NameLocated inDescriptionRequiredSchema
socialAuthRequestbodysocialAuthRequestYesSocialAuthRequest
Responses
CodeDescriptionSchema
200User has been successfully authorized!SocialAuthResponse
201Created
401User is not authorized!
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

sign-in-controller

Mobile Auth Management

/v1/iam/auth/sign-in/login/status

GET

Summary

User Login status

Description

API to fetch User Login status based on cookie or access token header

Responses
CodeDescriptionSchema
200Signin has been successfully.AuthenticationResultTypeDto
400Failed to authenticate user credentials.
401Unauthorized
403Forbidden
404Failed to authenticate user credentials.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/mobile

POST

Summary

Signin API to receive verification code and session

Description

Signin API to receive verification code and session

Parameters
NameLocated inDescriptionRequiredSchema
otpRequestbodyotpRequestYesOtpRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.string
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/mobile/verify

POST

Summary

Verify Api to get token against verification code

Description

Verify Api to get token against verification code

Parameters
NameLocated inDescriptionRequiredSchema
otpVerificationRequestbodyotpVerificationRequestYesOtpVerificationRequest
Responses
CodeDescriptionSchema
200Confirmation code has been sent successfully.AuthenticationResultTypeDto
201Created
400Failed to initiate sign in confirmation code.
401Unauthorized
403Forbidden
404Failed to initiate sign in confirmation code.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/web/mfa

POST

Summary

API to get MFA key and QR code

Description

API to get MFA key and QR code

Responses
CodeDescriptionSchema
200Got MFA Status successfullyMFAResponse
201Created
400Failed to get MFA key
401Unauthorized
403Forbidden
404Failed to get MFA key
Security
Security SchemaScopes
Authorizationglobal

DELETE

Summary

API to disable MFA

Description

API to disable MFA

Parameters
NameLocated inDescriptionRequiredSchema
disableRequestbodydisableRequestYesMFADisableRequest
Responses
CodeDescriptionSchema
200Disabled MFA successfullyMFAResponse
204No Content
400Failed to disable MFA
401Unauthorized
403Forbidden
404Failed to disable MFA
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/web/mfa-enable

POST

Summary

API to enable MFA

Description

API to enable MFA

Parameters
NameLocated inDescriptionRequiredSchema
enableRequestbodyenableRequestYesMFAEnableRequest
Responses
CodeDescriptionSchema
200Enabled MFA successfullyMFAEnableResponse
201Created
400Failed to enable MFA
401Unauthorized
403Forbidden
404Failed to enable MFA
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/web/mfa-signin

POST

Summary

MFA API to authenticate with username, password & pin

Description

MFA API to authenticate with username, password & pin

Parameters
NameLocated inDescriptionRequiredSchema
mfaSigninRequestbodymfaSigninRequestYesMFASigninRequest
Responses
CodeDescriptionSchema
200Authentication using MFA completed successfully.AuthenticationResultTypeDto
201Created
400Failed to authenticate using MFA
401Unauthorized
403Forbidden
404Failed to authenticate using MFA
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/web/mfa-status

GET

Summary

API to get MFA Status

Description

API to get MFA Status

Responses
CodeDescriptionSchema
200Got MFA Status successfullyMFAStatusResponse
400Failed to get MFA key
401Unauthorized
403Forbidden
404Failed to get MFA key
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/auth/sign-in/web/sign-in

POST

Summary

Web Signin API to authenticate with username and password

Description

Web Signin API to authenticate with username and password

Parameters
NameLocated inDescriptionRequiredSchema
webSignInRequestbodywebSignInRequestYesWebSignInRequest
Responses
CodeDescriptionSchema
200Signin has been successfully.AuthenticationResultTypeDto
201Created
400Failed to authenticate user credentials.
401Unauthorized
403Forbidden
404Failed to authenticate user credentials.
Security
Security SchemaScopes
Authorizationglobal

social-auth-controller

Social Auth Management

/v1/iam/auth/social

POST

Summary

Social Auth

Description

Social Auth

Parameters
NameLocated inDescriptionRequiredSchema
socialAuthRequestbodysocialAuthRequestYesSocialAuthRequest
Responses
CodeDescriptionSchema
200User has been successfully authorized!SocialAuthResponse
201Created
401User is not authorized!
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

apple-auth-controller

Apple Auth Controller

/v1/iam/auth/social/apple

POST

Summary

Apple Auth

Description

Apple Auth Management

Parameters
NameLocated inDescriptionRequiredSchema
codeformDataNostring
id_tokenformDataNostring
stateformDataNostring
userformDataNostring
Responses
CodeDescription
200User has been successfully authorized!
201Created
401User is not authorized!
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

token-controller

Token Controller

/v1/iam/token/app/validate

GET

Summary

API to validate token

Description

API to validate token

Responses
CodeDescriptionSchema
200Token has been validated successfully!SocialAuthResponse
401Invalid token!
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/token/firebase

GET

Summary

Generate firebase token.

Description

API to generate firebase token.

Responses
CodeDescriptionSchema
200Firebase token generated successfullystring
401Invalid access token
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/token/validate

GET

Summary

API to validate token

Description

API to validate token

Responses
CodeDescriptionSchema
200Token has been validated successfully!SocialAuthResponse
401Invalid token!
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

user-controller

User Management

/v1/iam/users

POST

Summary

User Creation

Description

API to create a user.

Parameters
NameLocated inDescriptionRequiredSchema
appUserCreateRequestbodyappUserCreateRequestYesAppUserCreateRequest
Responses
CodeDescriptionSchema
200OKUserDto
201User has been created successfully.UserDto
400User with same username is already exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/account

DELETE

Summary

Delete User Account

Description

API to delete user account

Parameters
NameLocated inDescriptionRequiredSchema
accountDeleteReasonqueryaccountDeleteReasonYesstring
isSocialLoginqueryisSocialLoginNoboolean
passwordquerypasswordNostring
Responses
CodeDescription
200OK
204User account has been deleted
400Unable to delete user account
401Unauthorized
403Forbidden
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/adminEmailVerify/{email}

GET

Summary

Find by email containing ignored case

Description

Find by email containing ignored case

Parameters
NameLocated inDescriptionRequiredSchema
emailpathemailYesstring
Responses
CodeDescriptionSchema
200User found by emailstring
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/adminSetPassword

POST

Summary

Confirm forgot password

Description

Confirm forgot password

Parameters
NameLocated inDescriptionRequiredSchema
confirmPasswordRequestbodyconfirmPasswordRequestYesConfirmPasswordRequest
Responses
CodeDescriptionSchema
200User has set new password successfully.OtpResponse
201Created
400User's new password request failed.
401Unauthorized
403Forbidden
404User's new password request failed.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/app/switch-tenant

POST

Summary

Switch Tenant

Description

Switch Tenant

Parameters
NameLocated inDescriptionRequiredSchema
switchTenantRequestbodyswitchTenantRequestYesSwitchTenantRequest
Responses
CodeDescriptionSchema
200Tenant has been switched successfully.AuthenticationResultTypeDto
201Created
400You are not part of the requested organiation.
401Unauthorized
403Forbidden
404Not Found
500Could not switch tenant. Please try again.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/app/token

POST

Summary

App Signin API to switch user token to app token

Responses
CodeDescriptionSchema
200Signin has been successfully.AuthenticationResultTypeDto
201Created
400Failed to authenticate user credentials.
401Unauthorized
403Forbidden
404Failed to authenticate user credentials.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/bulk-create

POST

Summary

Create user in bulk.

Description

Api to create users in bulk

Parameters
NameLocated inDescriptionRequiredSchema
inviteBulkUserRequestsbodyinviteBulkUserRequestsYes[ InviteBulkUserRequest ]
Responses
CodeDescriptionSchema
200Users created successfully.BulkAddUserResponse
201Created
400Failed to create users.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/bulk-invite

POST

Summary

Invite bulk user to a tenant

Description

Invite bulk user to a tenant

Parameters
NameLocated inDescriptionRequiredSchema
inviteBulkUserRequestsbodyinviteBulkUserRequestsYes[ InviteBulkUserRequest ]
Responses
CodeDescriptionSchema
200User added to a tenant successfully[ UserDto ]
201Created
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/change-password

POST

Summary

Change user password

Description

Change user password

Parameters
NameLocated inDescriptionRequiredSchema
userChangePasswordRequestbodyuserChangePasswordRequestYesUserChangePasswordRequest
Responses
CodeDescription
200Password changed successfully.
201Created
401Unauthorized
403Forbidden
404User not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/confirmotp

POST

Summary

confirm verification code

Description

confirm verification code

Parameters
NameLocated inDescriptionRequiredSchema
confirmOtpRequestbodyconfirmOtpRequestYesConfirmOtpRequest
Responses
CodeDescriptionSchema
200user has confirmed email/contact successfullyOtpResponse
201Created
400user failed to confirm email/contact
401Unauthorized
403Forbidden
404user failed to confirm email/contact
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/disableMFAUserAccount/{email}

GET

Summary

Find by email and disable MFA

Description

Find by email containing ignored case and disable MFA

Parameters
NameLocated inDescriptionRequiredSchema
emailpathemailYesstring
Responses
CodeDescriptionSchema
200MFA disabled for emailstring
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/emailchangeconfirmotp

POST

Summary

email change confirm

Description

email change configm

Parameters
NameLocated inDescriptionRequiredSchema
emailChangeConfirmRequestbodyemailChangeConfirmRequestYesEmailChangeConfirmRequest
Responses
CodeDescriptionSchema
200email has been changedResponseEntity
201Created
400bad request
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/emailchangeotp

POST

Summary

email change request

Description

email change request

Parameters
NameLocated inDescriptionRequiredSchema
emailChangeRequestbodyemailChangeRequestYesEmailChangeRequest
Responses
CodeDescriptionSchema
200otp has been generated for email changeEmailChangeResponse
201Created
400bad request
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/generateverifycontactotp

GET

Summary

generateverifycontactotp

Description

Send OTP to verify contact

Parameters
NameLocated inDescriptionRequiredSchema
emailqueryemailYesstring
Responses
CodeDescriptionSchema
200SMS has been sent successfully.ResponseEntity
400SMS send failed
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/generateverifyemailotp

GET

Summary

generateverifyemailotp

Description

Send OTP to verify email

Parameters
NameLocated inDescriptionRequiredSchema
emailqueryemailYesstring
Responses
CodeDescriptionSchema
200Email has been sent successfully.ResponseEntity
400Email verification unsuccessful.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/intercom-hash

GET

Summary

User Intercom hash

Description

API to get Intercom hash for a user.

Responses
CodeDescriptionSchema
200User hash generated successfully.IntercomHash
400Could not generate hash.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/intercom-hash-android

GET

Summary

User Intercom hash

Description

API to get Intercom hash for a user.

Responses
CodeDescriptionSchema
200User hash generated successfully.IntercomHash
400Could not generate hash.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/intercom-hash-ios

GET

Summary

User Intercom hash

Description

API to get Intercom hash for a user.

Responses
CodeDescriptionSchema
200User hash generated successfully.IntercomHash
400Could not generate hash.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/invite/{id}

PUT

Summary

Update invited user

Description

Update invited user

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
inviteUserUpdateRequestbodyinviteUserUpdateRequestYesInviteUserUpdateRequest
Responses
CodeDescriptionSchema
200Invited user Updated.InviteUserUpdateRequest
201Created
400Failed to Update invited user
401Unauthorized
403Forbidden
404Failed to Update invited user.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/otp

GET

Summary

Get user otp API

Description

Get user otp API

Parameters
NameLocated inDescriptionRequiredSchema
userNamequeryuserNameNostring
Responses
CodeDescriptionSchema
200Get user otp successUserOtpResponse
401Unauthorized
403Forbidden
404Invalid user name user otp.
Security
Security SchemaScopes
Authorizationglobal

POST

Summary

Create user otp API

Description

Create user otp API

Parameters
NameLocated inDescriptionRequiredSchema
userNamebodyuserNameYesstring
Responses
CodeDescriptionSchema
200Create user otp successUserOtpResponse
201Created
401Invalid user name user otp.
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/registered/contacts

POST

Summary

Returns list of users for a given list of contact numbers

Description

Returns list of users for a given list of contact numbers

Parameters
NameLocated inDescriptionRequiredSchema
registeredUserRequestbodyregisteredUserRequestYesRegisteredUserRequest
Responses
CodeDescriptionSchema
200Registered contacts list fetched successfully[ RegisteredUserResponse ]
201Created
400Failed to get registered user list
401Unauthorized
403Forbidden
404Registered user list not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/switch-client

POST

Summary

Switch Client

Description

Switch Client

Parameters
NameLocated inDescriptionRequiredSchema
switchTenantRequestbodyswitchTenantRequestYesSwitchTenantRequest
Responses
CodeDescriptionSchema
200Client has been switched successfully.AuthenticationResultTypeDto
201Created
400You are not part of the requested organiation.
401Unauthorized
403Forbidden
404Not Found
500Could not switch client. Please try again.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/switch-tenant

POST

Summary

Switch Tenant

Description

Switch Tenant

Parameters
NameLocated inDescriptionRequiredSchema
switchTenantRequestbodyswitchTenantRequestYesSwitchTenantRequest
Responses
CodeDescriptionSchema
200Tenant has been switched successfully.AuthenticationResultTypeDto
201Created
400You are not part of the requested organiation.
401Unauthorized
403Forbidden
404Not Found
500Could not switch tenant. Please try again.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/tenant-reset

DELETE

Summary

Reset tenant

Description

API to reset tenant

Parameters
NameLocated inDescriptionRequiredSchema
passwordquerypasswordYesstring
Responses
CodeDescriptionSchema
200OKSignUpResponse
204Tenant has been resetSignUpResponse
400Unable to reset tenant
401Unauthorized
403Forbidden
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/tenant/{id}

DELETE

Summary

Delete tenant

Description

API to delete tenant

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
passwordquerypasswordYesstring
Responses
CodeDescriptionSchema
200OKSignUpResponse
204Tenant has been deletedSignUpResponse
400Unable to delete tenant
401Unauthorized
403Forbidden
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/tenants

POST

Summary

Add/invite a user to a tenant

Description

Add/invite a user to a tenant

Parameters
NameLocated inDescriptionRequiredSchema
userTenantMappingrequestbodyuserTenantMappingrequestYesUserTenantRelRequest
Responses
CodeDescriptionSchema
200User added to a tenant successfullyUserDto
201Created
208User with same tenant already exists!UserDto
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/tenants/module-roles

POST

Summary

Add/invite a user to a tenant

Description

Add/invite a user to a tenant

Parameters
NameLocated inDescriptionRequiredSchema
userTenantMappingrequestbodyuserTenantMappingrequestYesUserTenantRelCreationRequest
Responses
CodeDescriptionSchema
200User added to a tenant successfullyUserDto
201Created
208User with same tenant already exists!UserDto
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/tenants/roles

POST

Summary

Add/invite a user to a tenant

Description

Add/invite a user to a tenant

Parameters
NameLocated inDescriptionRequiredSchema
userTenantMappingrequestbodyuserTenantMappingrequestYesUserTenantRelCreationRequest
Responses
CodeDescriptionSchema
200User added to a tenant successfullyUserDto
201Created
208User with same tenant already exists!UserDto
400User tenant mapping creation failed
401Unauthorized
403Forbidden
404Tenant not found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/unLockUserAccount/{email}

GET

Summary

Find by email containing ignored case

Description

Find by email containing ignored case

Parameters
NameLocated inDescriptionRequiredSchema
emailpathemailYesstring
Responses
CodeDescriptionSchema
200User found by emailstring
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/unlinkcontact

GET

Summary

unlinkcontact

Description

Unlink Contact

Responses
CodeDescriptionSchema
200Contact has been sent successfully unlinked.ResponseEntity
400Failed to unlink contact
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/web/switch-tenant

POST

Summary

Switch Tenant

Description

Switch Tenant

Parameters
NameLocated inDescriptionRequiredSchema
switchTenantRequestbodyswitchTenantRequestYesSwitchTenantRequest
Responses
CodeDescriptionSchema
200Tenant has been switched successfully.AuthenticationResultTypeDto
201Created
400You are not part of the requested organiation.
401Unauthorized
403Forbidden
404Not Found
500Could not switch tenant. Please try again.
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/{id}

GET

Summary

Get user by id.

Description

API to get user information by id.

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
Responses
CodeDescriptionSchema
200User information has been fetched successfully.AppUserResponseInfo
401Unauthorized
403Forbidden
404User does not exist.
Security
Security SchemaScopes
Authorizationglobal

PUT

Summary

Update user information

Description

API to update user information

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
userDtobodyuserDtoYesUserDto
Responses
CodeDescriptionSchema
200User has been updated successfully.UserDto
201Created
400User does not exist.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

PATCH

Summary

Update user attributes.

Description

API to update attributes of existing user.

Parameters
NameLocated inDescriptionRequiredSchema
idpathidYeslong
userAttributeUpdateRequestbodyuserAttributeUpdateRequestYesUserAttributeUpdateRequest
Responses
CodeDescriptionSchema
200User attributes has been updated successfully.UserDto
204No Content
401Unauthorized
403Forbidden
404User does not exist.
Security
Security SchemaScopes
Authorizationglobal

mobile-email-linking-controller

Mobile user Email link

POST

Summary

Mobile user email De-linking.

Description

API De-link email to mobile user.

Responses
CodeDescriptionSchema
200Email de-link successfully.string
201Created
400Email de-link unsuccessful
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

POST

Summary

Mobile user email linking.

Description

API link email to mobile user.

Parameters
NameLocated inDescriptionRequiredSchema
emailbodyemailYesstring
Responses
CodeDescriptionSchema
200A verification email has been sent successfully.ResponseEntity
201Created
208User email is already linked.ResponseEntity
400A verification email has not been sent successfully.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/email/merge

POST

Summary

Merge accounts

Description

API to merge accounts.

Parameters
NameLocated inDescriptionRequiredSchema
requestbodyrequestYesMergeAccountRequest
Responses
CodeDescription
200Verification code has been sent successfully.
201Created
400Verification code has not been sent.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/email/merge/process

POST

Summary

Process merging of accounts

Description

API to process merge accounts.

Parameters
NameLocated inDescriptionRequiredSchema
requestbodyrequestYesMergeAccountProcessRequest
Responses
CodeDescriptionSchema
200Accounts merged successfully.AuthenticationResultTypeDto
201Created
400Accounts could not be merged.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/email/regenerate

POST

Summary

Regenerate Email verification API

Description

Regenerate Email verification API

Responses
CodeDescriptionSchema
200Email de-link successfully.string
201Created
400Email de-link unsuccessful
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/iam/users/email/verify

POST

Summary

Mobile user email verification.

Description

API email verfication for mobile user.

Parameters
NameLocated inDescriptionRequiredSchema
emailLinkRequestbodyemailLinkRequestYesEmailLinkRequest
Responses
CodeDescriptionSchema
200Email has been linked successfully.ResponseEntity
201Created
400Email has not been linked successfully.
401Unauthorized
403Forbidden
404Provided confirmation code information is invalid
410The Confirmation code has been expired. Please generate a new confirmation code.
Security
Security SchemaScopes
Authorizationglobal

Models

Address

NameTypeDescriptionRequired
address1stringAddress line 1
Example: "218, Robinson Road"
No
address2stringAddress line 2
Example: "Downtown"
No
citystringCity
Example: "C001"
No
contactNamestringcontact name for address
Example: "John Smith"
No
countrystringCountry
Example: "C001"
No
destinationOfSupplystringstate in India
Example: "Maharashtra"
No
placeOfSupplystringstate in India
Example: "Punjab"
No
postalCodestringPostal Code
Example: 123456
No
preferredbooleanIs this a default address?
Example: true
No
statestringState
Example: "CS001"
No

AffiliateSignupRequest

NameTypeDescriptionRequired
contactstringUser Contact Number
Example: 12345678
No
emailIdstringEmail
Example: "james@bond.com"
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
isEmailVerifiedbooleanEmail Verification Required
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
passwordstringPassword
Example: "**********"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No

AppUserBasicInfoDto

NameTypeDescriptionRequired
contactstringNo
deletedbooleanNo
emailstringNo
firstNamestringNo
lastNamestringNo

AppUserCreateRequest

NameTypeDescriptionRequired
appNamestringApplication name
Example: "ERP"
No
bkPlanDetailsstringSelected plan details if client pays.
Example: "MONTHLY/YEARLY"
No
bkPlanIdstringSelected plan id if client pays.
Example: 1234
No
bookkeeperPaysbooleanbook keeper team pays or client pays
Example: false
No
contactstringUser Contact Number
Example: 12345678
No
createUserInTenantbooleanFlag to control creation of users in tenant
Example: true
No
emailIdstringEmail
Example: "james@bond.com"
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
isBookkeeperbooleanFlag indicate user book keeper
Example: true
No
isEmailVerifiedbooleanEmail Verification Required
Example: false
No
isGoUserbooleanGo request to add user to ERP
Example: false
No
isPartnerbooleanFlag indicate partner book keeper
Example: true
No
isTeambooleanbook keeper team or client
Example: false
No
isUserNotUpdatedbooleanFlag maintain to identify if user is added through invite flow.
Example: false
No
isWebsitebooleanFlag to indicate signup from website
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
organizationNamestringPass organization name if you want to create org without setup
Example: "Deskera"
No
passwordstringPassword
Example: "**********"
No
roleGroupstringRole Group
Example: "admin"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No
socialAuthstringNeeded, if user is signing up via social login
Example: "GOOGLE"
No
sourcestringRegistration source DESKERA/SHOPIFY
Enum: "DESKERA", "SHOPIFY", "MOBILE", "MOBILE_GOOGLE", "MOBILE_APPLE", "MOBILE_OTHER", "WEB", "WEB_GOOGLE", "WEB_APPLE", "WEB_OTHER"
Example: "Deskera"
No

AppUserResponseInfo

NameTypeDescriptionRequired
address[ Address ]List of Address.No
appUserRoleXrefs[ AppUserRoleInfo ]User RolesNo
authUserIdstringAuth0 User ID
Example: `"auth0
5d70ec986e382a0d12a4ff22"`
contactstringUser Contact
Example: 12345678
No
deletedbooleanDelete Flag
Example: false
No
departmentstringUser Department
Example: "Finance"
No
designationstringUser Designation
Example: "Accountant"
No
emailstringUser email
Example: "jsmith@example.com"
No
firstNamestringUser First Name
Example: "John"
No
genderLookUpCodestringGender
Example: "Mr."
No
idlongPrimary Key
Example: 1
No
isMFAEnabledbooleanMFA Enabled Status
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
profileUrlstringUser profile image path.
Example: "http://deskera.com/user/myprofile.png"
No
socialAuthstringsocial auth
Example: "auth"
No
statusstringStatus like Active/ InActive
Example: "active"
No
tenantIdlongTenant Id
Example: 1
No
userNamestringUser Name
Example: "jsmith@example.com"
No
userNotUpdatedbooleanNo

AppUserRoleInfo

NameTypeDescriptionRequired
appNamestringApplication Name
Enum: "CONSOLE", "ERP", "ORGANISATION", "ATTENDANCE", "EXPENSE", "CRM_PLUS"
Example: "ERP"
No
roleGroupstringRole Group
Example: "admin"
No
roleShortCodestringRole Short Code
Example: "console_user_r"
No
tenantIdlongTenant ID
Example: 12
No

AppUserRolesCreateRequest

NameTypeDescriptionRequired
appNamestringApplication name
Example: "ERP"
No
moduleUuids[ string ]List of module UUIDNo
roleGroupstringRole Group
Example: "admin"
No

AuthenticationResultType

NameTypeDescriptionRequired
accessTokenstringNo
expiresInintegerNo
idTokenstringNo
newDeviceMetadataNewDeviceMetadataTypeNo
refreshTokenstringNo
tokenTypestringNo

AuthenticationResultTypeDto

NameTypeDescriptionRequired
accessTokenstringThe access token
Example: "eyJraWQi..."
No
emailVerifiedbooleanEmail verified status
Example: false
No
expiresInintegerThe expiration period of the authentication result in seconds.
Example: 3600
No
guidstringThe access token
Example: "eyJraWQi..."
No
idTokenstringThe id token
Example: "eyJhbGci..."
No
mfaenabledbooleanNo
refreshTokenstringThe refresh token
Example: "eyJjdHki..."
No
tokenTypestringThe token type.
Example: "Bearer"
No

BulkAddUserResponse

NameTypeDescriptionRequired
failure[ IAMUserDto ]No
success[ IAMUserDto ]No

CheckExistingUserResponse

NameTypeDescriptionRequired
contactExistsbooleanReturns true if user with same contact exists
Example: false
No
emailExistsbooleanReturns true if user with same email exists
Example: true
No
sameUserbooleanReturns true if contact exists and email exists and they belong to same user.
Example: true
No

ConfirmOtpRequest

NameTypeDescriptionRequired
confirmationCodestringConfirmation code received through Email/SMS
Example: 123456
Yes
isEmailbooleanif username is email then this is true
Example: true
No
passwordstringUser password
Example: "abcd@123"
No
userNamestringemail/contact
Example: "+65-1234-5678"
Yes

ConfirmPasswordRequest

NameTypeDescriptionRequired
confirmationCodestringConfirmation code received through SMS
Example: 123456
Yes
passwordstringPassword to signin
Example: "abcd@123"
Yes
userNamestringUsername
Example: "+65-1234-5678"
Yes

EmailChangeConfirmRequest

NameTypeDescriptionRequired
newEmailstringNew Email
Example: "johndoe@example.com"
Yes
sessionIDstringSession ID
Example: "abcd-efgh"
Yes
verificationCodestringVerification Code
Example: 123456
Yes

EmailChangeDto

NameTypeDescriptionRequired
newEmailstringNewly added email
Example: "New email"
No
oldEmailstringEmail to be replaced
Example: "Old email"
No

EmailChangeRequest

NameTypeDescriptionRequired
newEmailstringNew Email
Example: "johndoe@example.com"
Yes
passwordstringLogin password
Example: "password"
Yes

EmailChangeResponse

NameTypeDescriptionRequired
otpExpiryDurationSecondsstringDuration in seconds for otp expiry
Example: 180
Yes
sessionIDstringsession ID
Example: "abcd-efgh"
Yes

EmailLinkRequest

NameTypeDescriptionRequired
confirmationCodestringConfirmation code received through Email
Example: 123456
Yes
passwordstringPassword to signin
Example: "Abcd@123"
Yes

ForgotPasswordRequest

NameTypeDescriptionRequired
userNamestringUsername
Example: "+65-1234-5678"
Yes

IAMUserDto

NameTypeDescriptionRequired
appNamestringNo
contactstringNo
emailstringNo
firstNamestringNo
fullNamestringNo
idlongNo
lastNamestringNo
messagestringNo
roleGroupstringNo
tenantIdlongNo
usernamestringNo

IntercomHash

NameTypeDescriptionRequired
hashstringNo

InviteBulkUserRequest

NameTypeDescriptionRequired
appNamestringDeskera Application Name
Example: "ORGANISATION"
Yes
contactstringContact No
Example: "+6512345678"
Yes
emailstringUser email
Example: "nguyen.tuan_123@deskera.com"
Yes
firstNamestringuser first name
Example: "Tuan"
Yes
lastNamestringUser last name
Example: "Nguyen"
Yes
peoplePlusbooleanRequest Origin is People+ App
Example: true
No
roleGroupstringDeskera Roles
Example: "org_admin"
Yes
usernamestringUsername or Email or Contact Number of User
Example: "example@domain.com"
Yes

InviteRequest

NameTypeDescriptionRequired
emailstringemail
Example: "abcd@gmail.com"
Yes
phonestringcontact
Example: 99999999
Yes

InviteStatusResponse

NameTypeDescriptionRequired
appInviteStatusstringNo
inviteCodestringNo

InviteUserUpdateRequest

NameTypeDescriptionRequired
contactstringNo
countryCodestringNo
currencystringNo
emailstringNo
firstNamestringNo
industrystringNo
lastNamestringNo
namestringNo
noOfEmployeesstringNo
passwordstringNo
phonestringNo
titlestringNo

InviteVerificationRequest

NameTypeDescriptionRequired
emailstringemail address
Example: "abc@gmail.com"
Yes
phonestringcontact number
Example: 99999999
Yes
sessionstringsession received on invite request
Example: "eyJjdHkiOiJKV1QiLCJlbmMiOiJ.."
Yes
verificationCodestringVerification code received on email
Example: 12345
No

MFADisableRequest

NameTypeDescriptionRequired
passwordstringUser password
Example: "abcd@123"
Yes

MFAEnableRequest

NameTypeDescriptionRequired
mfaCodestringMFA code
Example: 1234567
Yes
mfaTypestringMfa type
Enum: "EIGHT_DIGIT", "SIX_DIGIT", "ALPHA_NUMERIC"
Example: "EIGHT_DIGIT"
No

MFAEnableResponse

NameTypeDescriptionRequired
enableStatusbooleanMFA Enable Status
Example: true
No
recoveryCodes[ string ]MFA Recovery codesNo

MFAResponse

NameTypeDescriptionRequired
enableStatusbooleanMFA Enable Status
Example: true
No
keystringMFA Key
Example: "abcd"
No
qrCodeBytesstringMFA QR Code bytes in base64
Example: "qrcode"
No

MFASigninRequest

NameTypeDescriptionRequired
inviteCodestringInvitation Code
Example: "as-1231234-asdhasd"
No
isMobilebooleanIs Mobile sign in
Example: true
No
mfaCodestringMFA Code
Example: "ABC123"
Yes
passwordstringUser password
Example: "abcd@123"
Yes
userNamestringUsername
Example: "+65-1234-5678"
Yes

MFAStatusByIamIdResponseDto

NameTypeDescriptionRequired
idlongNo
isMFAEnabledbooleanNo

MFAStatusResponse

NameTypeDescriptionRequired
enableStatusbooleanMFA Enable Status
Example: true
No

MergeAccountProcessRequest

NameTypeDescriptionRequired
contactstringContact of account to merge
Example: "+6598644453"
Yes
emailstringEmail id of account to merge
Example: "abc@def.com"
Yes
isMobilebooleanIs mobile client or web client.
Example: true
Yes
makePrimarybooleanFlag to overwrite contact/email if contact/email in current account is not empty.
Example: false
Yes
otpstringOTP received by SMS/Mail.
Example: 123456
Yes

MergeAccountRequest

NameTypeDescriptionRequired
contactstringContact of account to merge
Example: "+6598644453"
Yes
emailstringEmail id of account to merge
Example: "abc@def.com"
Yes

MobileSignupRequestWithOrg

NameTypeDescriptionRequired
contactstringUser Contact Number
Example: 12345678
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
lastNamestringUser Last Name
Example: "Doe"
No
organizationNamestringPass organization name if you want to create org without setup
Example: "Deskera"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No

NameChangeDto

NameTypeDescriptionRequired
emailstringemail of user
Example: "ram@gamil.com"
No
firstNamestringmodified first name
Example: "ram"
No
lastNamestringmodified last name
Example: "kumar"
No

NewDeviceMetadataType

NameTypeDescriptionRequired
deviceGroupKeystringNo
deviceKeystringNo

OtpRequest

NameTypeDescriptionRequired
phoneNumberstringPhone Number
Example: "+65-1234-5678"
Yes

OtpResponse

NameTypeDescriptionRequired
messagestringNo
retriesLeftintegerNo

OtpVerificationRequest

NameTypeDescriptionRequired
phoneNumberstringPhone number
Example: "+65-1234-5678"
Yes
sessionstringCognito session received on signup
Example: "eyJjdHkiOiJKV1QiLCJlbmMiOiJ.."
Yes
verificationCodestringVerification code received on contact no
Example: 12345
Yes

RefreshTokenRequest

NameTypeDescriptionRequired
refreshTokenstringRefresh token
Example: "eyJjdHkiOiJKV1QiLCJlbmMiOiJ.."
Yes
tenantIdlongTenant Id
Example: 123456
Yes
userNamestringUsername
Example: "+65-1234-5678"
Yes

RegisteredUserRequest

NameTypeDescriptionRequired
emails[ string ]List of user's contacts emails
Example: ["sample@xyz.abc","demo@abc.xyz"]
Yes
phones[ string ]List of user's contacts phone numbers
Example: ["+6504372324"]
Yes

RegisteredUserResponse

NameTypeDescriptionRequired
contactstringContact phone no.
Example: "+169342347234"
No
emailstringContact email address
Example: "user@sample.yyy"
No
firstNamestringUser First Name
Example: "John"
No
idlongPrimary Key
Example: 1
No
lastNamestringUser Last Name
Example: "Doe"
No
profileUrlstringUser profile image path.
Example: "http://deskera.com/user/myprofile.png"
No

ResponseEntity

NameTypeDescriptionRequired
bodyobjectNo
statusCodestringEnum: "100 CONTINUE", "101 SWITCHING_PROTOCOLS", "102 PROCESSING", "103 CHECKPOINT", "200 OK", "201 CREATED", "202 ACCEPTED", "203 NON_AUTHORITATIVE_INFORMATION", "204 NO_CONTENT", "205 RESET_CONTENT", "206 PARTIAL_CONTENT", "207 MULTI_STATUS", "208 ALREADY_REPORTED", "226 IM_USED", "300 MULTIPLE_CHOICES", "301 MOVED_PERMANENTLY", "302 FOUND", "302 MOVED_TEMPORARILY", "303 SEE_OTHER", "304 NOT_MODIFIED", "305 USE_PROXY", "307 TEMPORARY_REDIRECT", "308 PERMANENT_REDIRECT", "400 BAD_REQUEST", "401 UNAUTHORIZED", "402 PAYMENT_REQUIRED", "403 FORBIDDEN", "404 NOT_FOUND", "405 METHOD_NOT_ALLOWED", "406 NOT_ACCEPTABLE", "407 PROXY_AUTHENTICATION_REQUIRED", "408 REQUEST_TIMEOUT", "409 CONFLICT", "410 GONE", "411 LENGTH_REQUIRED", "412 PRECONDITION_FAILED", "413 PAYLOAD_TOO_LARGE", "413 REQUEST_ENTITY_TOO_LARGE", "414 URI_TOO_LONG", "414 REQUEST_URI_TOO_LONG", "415 UNSUPPORTED_MEDIA_TYPE", "416 REQUESTED_RANGE_NOT_SATISFIABLE", "417 EXPECTATION_FAILED", "418 I_AM_A_TEAPOT", "419 INSUFFICIENT_SPACE_ON_RESOURCE", "420 METHOD_FAILURE", "421 DESTINATION_LOCKED", "422 UNPROCESSABLE_ENTITY", "423 LOCKED", "424 FAILED_DEPENDENCY", "425 TOO_EARLY", "426 UPGRADE_REQUIRED", "428 PRECONDITION_REQUIRED", "429 TOO_MANY_REQUESTS", "431 REQUEST_HEADER_FIELDS_TOO_LARGE", "451 UNAVAILABLE_FOR_LEGAL_REASONS", "500 INTERNAL_SERVER_ERROR", "501 NOT_IMPLEMENTED", "502 BAD_GATEWAY", "503 SERVICE_UNAVAILABLE", "504 GATEWAY_TIMEOUT", "505 HTTP_VERSION_NOT_SUPPORTED", "506 VARIANT_ALSO_NEGOTIATES", "507 INSUFFICIENT_STORAGE", "508 LOOP_DETECTED", "509 BANDWIDTH_LIMIT_EXCEEDED", "510 NOT_EXTENDED", "511 NETWORK_AUTHENTICATION_REQUIRED"No
statusCodeValueintegerNo

SignUpResponse

NameTypeDescriptionRequired
authenticationResultTypeAuthenticationResultTypeNo
tenantIdlongTenant ID
Example: 123
No
tenantNamestringTenant name
Example: "Deskera"
No
userIdlongUser Id
Example: "1L"
No

SignUpWithInviteRequest

NameTypeDescriptionRequired
contactstringUser Contact
Example: "+6589991231"
No
emailstringEmail of the user.
Example: "abc@gmail.com"
No
firstNamestringUser first name
Example: "John"
No
inviteCodestringUnique Invitation Code
Example: "3609848a-394a-41c6-817f-c81e362881ed"
No
lastNamestringUser last name
Example: "Doe"
No
passwordstringPassword
Example: "Abc@1234"
No

SocialAuthRequest

NameTypeDescriptionRequired
appNamestringsocial auth app name
Enum: "QUICKBOOK", "ZOHO", "XERO", "LINKEDIN", "FACEBOOK", "APPLE", "GOOGLE", "OFFICE_365", "ONEDRIVE", "DROPBOX"
Example: "GOOGLE"
No
codestringauthorization grant code
Example: "12sdihgf23"
No
firstNamestringfirst name of user
Example: "Tom"
No
lastNamestringlast name of user
Example: "Hanks"
No
realmIdstringrealmId
Example: "askjd23"
No
redirectUrlstringBase64 encoded redirect url associate with the authorization grant code
Example: "aHR0cDovL2Rlc2tlcmEuY29t"
No
statestringstate
Example: 123
No

SocialAuthResponse

NameTypeDescriptionRequired
accessTokenstringIAM Service Token
Example: "ey0...dy3W"
No
emailstringUser email
Example: "jonsnow@email.com"
No
existingUserbooleanis Existing user
Example: false
No
firstNamestringUser first name
Example: "John"
No
idTokenstringId Token
Example: "ey0...dy3W"
No
lastNamestringUser last name
Example: "Snow"
No
refreshTokenstringIAM refresh Token
Example: "ey0...dy3W"
No

SwitchTenantRequest

NameTypeDescriptionRequired
refreshTokenstringRefresh token
Example: "eyJjdHkiOiJKV1QiLCJlbmMiOiJ.."
Yes
skipTenantCallbooleanSkip tenant service switch tenant call.
Example: true
No
tenantIdlongTenant ID
Example: 1
Yes
userNamestringUsername
Example: "+65-1234-5678"
Yes

User

NameTypeDescriptionRequired
accountDeleteReasonstringNo
accountLockedbooleanNo
bcryptGeneratedbooleanNo
cognitoPasswordstringNo
contactstringNo
createdAtdateTimeNo
createdBylongNo
deletedbooleanNo
departmentstringNo
designationstringNo
emailstringNo
emailVerifiedbooleanNo
failedAttemptintegerNo
firebaseIdstringNo
firstNamestringNo
gdprMigratedbooleanNo
genderLookUpCodestringNo
goUserbooleanNo
iamUserbooleanNo
idlongNo
idpUserIdstringNo
isBookkeeperbooleanNo
isMFAEnabledbooleanNo
lastNamestringNo
lockTimedateTimeNo
mfaRecoveryCodesstringNo
mfaSecretKeystringNo
mfaTypestringEnum: "EIGHT_DIGIT", "SIX_DIGIT", "ALPHA_NUMERIC"No
migratedbooleanNo
passwordstringNo
profileUrlstringNo
pwdGeneratedbooleanNo
shabCryptGeneratedbooleanNo
socialAuthstringNo
statusstringNo
updatedAtdateTimeNo
updatedBylongNo
userNamestringNo
userNotUpdatedbooleanNo

UserAttributeUpdateRequest

NameTypeDescriptionRequired
contactstringContact Number
Example: "+6587654556"
No
designationstringUser Title
Example: "Sales Executive"
No
emailstringUser email
Example: "jsmith@example.com"
No
firstNamestringUser First Name
Example: "John"
No
isBookkeeperbooleanset if user is bookkeeper
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
passwordstringUser Password
Example: "**********"
No
userNotUpdatedbooleanNo

UserChangePasswordRequest

NameTypeDescriptionRequired
newPasswordstringNew valid password
Example: "test#123"
Yes
oldPasswordstringOld valid password
Example: "test@123"
Yes

UserDto

NameTypeDescriptionRequired
appNamestringApplication name
Example: "ERP"
Yes
authUserIdstringAuth0 User ID
Example: `"auth0
5d70ec986e382a0d12a4ff22"`
contactstringUser contact number
Example: 12345678
No
deletedbooleanDelete Flag
Example: false
No
departmentstringUser Department
Example: "Finance"
No
designationstringUser Designation
Example: "Accountant"
No
emailstringUser email
Example: "jsmith@example.com"
No
emailVerifiedbooleanNo
firstNamestringUser First Name
Example: "John"
Yes
fullNamestringNo
genderLookUpCodestringGender
Example: "Mr."
No
idlongPrimary Key
Example: 1
No
lastNamestringUser Last Name
Example: "Doe"
Yes
profileUrlstringUser profile image path.
Example: "http://deskera.com/user/myprofile.png"
No
roleGroupstringRole Group
Example: "admin"
Yes
socialAuthstringsocial auth
Example: "auth"
No
sourcestringRegistration source DESKERA/SHOPIFY
Enum: "DESKERA", "SHOPIFY", "MOBILE", "MOBILE_GOOGLE", "MOBILE_APPLE", "MOBILE_OTHER", "WEB", "WEB_GOOGLE", "WEB_APPLE", "WEB_OTHER"
Example: "Deskera"
No
statusstringStatus like Active/ InActive
Example: "active"
No
tenantIdlongTenant Id
Example: 1
Yes
userNamestringUsername
Example: "d.6511223344"
No

UserEmailContactRequest

NameTypeDescriptionRequired
contactstringmobile
Example: "+65122313"
Yes
emailstringemail
Example: "abcd@a.com"
Yes

UserOtpResponse

NameTypeDescriptionRequired
contactstringNo
expirydateTimeNo
otpstringNo
otpTypestringEnum: "LOGIN", "PASSWORD_RESET", "EMAIL_VERIFICATION", "MERGE_ACCOUNTS", "EMAIL_CONTACT_VERIFY_OTP", "EMAIL_CHANGE"No
sessionstringNo

UserTenantRelCreationRequest

NameTypeDescriptionRequired
appUserCreateRequestList[ AppUserRolesCreateRequest ]Role in particular app
Example: [{"roleGroup":"admin","appName":"ERP"}]
No
bkPlanDetailsstringSelected plan details if client pays.
Example: "MONTHLY/YEARLY"
No
bkPlanIdstringSelected plan id if client pays.
Example: 1234
No
bookkeeperPaysbooleanbook keeper team pays or client pays
Example: false
No
contactstringUser Contact Number
Example: 12345678
No
createUserInTenantbooleanFlag to control creation of users in tenant
Example: true
No
emailIdstringEmail
Example: "james@bond.com"
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
inviteUserbooleanNo
isBookkeeperbooleanFlag indicate user book keeper
Example: true
No
isEmailVerifiedbooleanEmail Verification Required
Example: false
No
isGoUserbooleanGo request to add user to ERP
Example: false
No
isPartnerbooleanFlag indicate partner book keeper
Example: true
No
isTeambooleanbook keeper team or client
Example: false
No
isUserNotUpdatedbooleanFlag maintain to identify if user is added through invite flow.
Example: false
No
isWebsitebooleanFlag to indicate signup from website
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
organizationNamestringPass organization name if you want to create org without setup
Example: "Deskera"
No
passwordstringPassword
Example: "**********"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No
socialAuthstringNeeded, if user is signing up via social login
Example: "GOOGLE"
No
sourcestringRegistration source DESKERA/SHOPIFY
Enum: "DESKERA", "SHOPIFY", "MOBILE", "MOBILE_GOOGLE", "MOBILE_APPLE", "MOBILE_OTHER", "WEB", "WEB_GOOGLE", "WEB_APPLE", "WEB_OTHER"
Example: "Deskera"
No
tenantIdlongTenant ID
Example: 1
No

UserTenantRelRequest

NameTypeDescriptionRequired
appNamestringApplication name
Example: "ERP"
No
bkPlanDetailsstringSelected plan details if client pays.
Example: "MONTHLY/YEARLY"
No
bkPlanIdstringSelected plan id if client pays.
Example: 1234
No
bookkeeperPaysbooleanbook keeper team pays or client pays
Example: false
No
contactstringUser Contact Number
Example: 12345678
No
createUserInTenantbooleanFlag to control creation of users in tenant
Example: true
No
emailIdstringEmail
Example: "james@bond.com"
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
inviteCodestringInvitation Code
Example: "abc-123"
No
inviteUserbooleanNo
isBookkeeperbooleanFlag indicate user book keeper
Example: true
No
isEmailVerifiedbooleanEmail Verification Required
Example: false
No
isGoUserbooleanGo request to add user to ERP
Example: false
No
isPartnerbooleanFlag indicate partner book keeper
Example: true
No
isTeambooleanbook keeper team or client
Example: false
No
isUserNotUpdatedbooleanFlag maintain to identify if user is added through invite flow.
Example: false
No
isWebsitebooleanFlag to indicate signup from website
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
organizationNamestringPass organization name if you want to create org without setup
Example: "Deskera"
No
passwordstringPassword
Example: "**********"
No
peoplePlusbooleanrequest origin identifier People or PeoplePlus
Example: true
No
roleGroupstringRole Group
Example: "admin"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No
socialAuthstringNeeded, if user is signing up via social login
Example: "GOOGLE"
No
sourcestringRegistration source DESKERA/SHOPIFY
Enum: "DESKERA", "SHOPIFY", "MOBILE", "MOBILE_GOOGLE", "MOBILE_APPLE", "MOBILE_OTHER", "WEB", "WEB_GOOGLE", "WEB_APPLE", "WEB_OTHER"
Example: "Deskera"
No
tenantIdlongTenant ID
Example: 1
No

WebSignInRequest

NameTypeDescriptionRequired
inviteCodestringInvitation Code
Example: "as-1231234-asdhasd"
No
isMobilebooleanIs Mobile sign in
Example: true
No
passwordstringUser password
Example: "abcd@123"
Yes
userNamestringUsername
Example: "+65-1234-5678"
Yes

WebSignupRequest

NameTypeDescriptionRequired
bkPlanDetailsstringSelected plan details if client pays.
Example: "MONTHLY/YEARLY"
No
bkPlanIdstringSelected plan id if client pays.
Example: 1234
No
bookkeeperPaysbooleanbook keeper team pays or client pays
Example: false
No
contactstringUser Contact Number
Example: 12345678
No
createUserInTenantbooleanFlag to control creation of users in tenant
Example: true
No
emailIdstringEmail
Example: "james@bond.com"
No
firstNamestringUser First Name
Example: "John"
No
iamUserIdlongIAM app_user id
Example: 12
No
isBookkeeperbooleanFlag indicate user book keeper
Example: true
No
isEmailVerifiedbooleanEmail Verification Required
Example: false
No
isGoUserbooleanGo request to add user to ERP
Example: false
No
isPartnerbooleanFlag indicate partner book keeper
Example: true
No
isTeambooleanbook keeper team or client
Example: false
No
isUserNotUpdatedbooleanFlag maintain to identify if user is added through invite flow.
Example: false
No
isWebsitebooleanFlag to indicate signup from website
Example: false
No
lastNamestringUser Last Name
Example: "Doe"
No
organizationNamestringPass organization name if you want to create org without setup
Example: "Deskera"
No
passwordstringPassword
Example: "**********"
No
shouldSendEmailbooleanflag to send email or not
Example: true
No
socialAuthstringNeeded, if user is signing up via social login
Example: "GOOGLE"
No
sourcestringRegistration source DESKERA/SHOPIFY
Enum: "DESKERA", "SHOPIFY", "MOBILE", "MOBILE_GOOGLE", "MOBILE_APPLE", "MOBILE_OTHER", "WEB", "WEB_GOOGLE", "WEB_APPLE", "WEB_OTHER"
Example: "Deskera"
No

Models


Address

NameTypeDescriptionRequired
address1stringAddress line 1No
address2stringAddress line 2No
citystringCityNo
countrystringCountryNo
postalCodestringPostal CodeNo
preferredbooleanIs this a default address?No
statestringStateNo

AppUserCreateRequest

NameTypeDescriptionRequired
appNamestringApplication nameNo
bookkeeperPaysbooleanbook keeper team pays or client paysNo
contactstringUser Contact NumberNo
createUserInTenantbooleanFlag to control creation of users in tenantNo
emailIdstringEmailNo
firstNamestringUser First NameNo
iamUserIdlongIAM app_user idNo
isBookkeeperbooleanFlag indicate user book keeperNo
isEmailVerifiedbooleanEmail Verification RequiredNo
isGoUserbooleanGo request to add user to ERPNo
isPartnerbooleanFlag indicate partner book keeperNo
isTeambooleanbook keeper team or clientNo
isWebsitebooleanFlag to indicate signup from websiteNo
lastNamestringUser Last NameNo
organizationNamestringPass organization name if you want to create org without setupNo
passwordstringPasswordNo
roleGroupstringRole GroupNo
shouldSendEmailbooleanflag to send email or notNo
socialAuthstringNeeded, if user is signing up via social loginNo

AppUserResponseInfo

NameTypeDescriptionRequired
address[ Address ]List of Address.No
appUserRoleXrefs[ AppUserRoleInfo ]User RolesNo
authUserIdstringAuth0 User IDNo
contactstringUser ContactNo
deletedbooleanDelete FlagNo
departmentstringUser DepartmentNo
designationstringUser DesignationNo
emailstringUser emailNo
firstNamestringUser First NameNo
genderLookUpCodestringGenderNo
idlongPrimary KeyNo
lastNamestringUser Last NameNo
profileUrlstringUser profile image path.No
statusstringStatus like Active/ InActiveNo
tenantIdlongTenant IdNo
userNamestringUser NameNo

AppUserRoleInfo

NameTypeDescriptionRequired
appNamestringApplication NameNo
roleGroupstringRole GroupNo
roleShortCodestringRole Short CodeNo
tenantIdlongTenant IDNo

AuthenticationResultTypeDto

NameTypeDescriptionRequired
accessTokenstringThe access tokenNo
expiresInintegerThe expiration period of the authentication result in seconds.No
idTokenstringThe id tokenNo
refreshTokenstringThe refresh tokenNo
tokenTypestringThe token type.No

CheckExistingUserResponse

NameTypeDescriptionRequired
contactExistsbooleanReturns true if user with same contact existsNo
emailExistsbooleanReturns true if user with same email existsNo

ConfirmPasswordRequest

NameTypeDescriptionRequired
confirmationCodestringConfirmation code received through SMSYes
passwordstringPassword to signinYes
userNamestringUsernameYes

EmailLinkRequest

NameTypeDescriptionRequired
confirmationCodestringConfirmation code received through EmailYes
passwordstringPassword to signinYes

ForgotPasswordRequest

NameTypeDescriptionRequired
userNamestringUsernameYes

InviteBulkUserRequest

NameTypeDescriptionRequired
appNamestringDeskera Application NameYes
contactstringContact NoYes
emailstringUser emailYes
firstNamestringuser first nameYes
lastNamestringUser last nameYes
roleGroupstringDeskera RolesYes
usernamestringUsername or Email or Contact Number of UserYes

MobileSignupRequest

NameTypeDescriptionRequired
contactstringUser Contact NumberNo
firstNamestringUser First NameNo
iamUserIdlongIAM app_user idNo
lastNamestringUser Last NameNo
shouldSendEmailbooleanflag to send email or notNo

OtpRequest

NameTypeDescriptionRequired
phoneNumberstringPhone NumberYes

OtpVerificationRequest

NameTypeDescriptionRequired
phoneNumberstringPhone numberYes
sessionstringCognito session received on signupYes
verificationCodestringVerification code received on contact noYes

RefreshTokenRequest

NameTypeDescriptionRequired
refreshTokenstringRefresh tokenYes
tenantIdlongTenant IdYes
userNamestringUsernameYes

RegisteredUserRequest

NameTypeDescriptionRequired
emails[ string ]List of user's contacts emailsYes
phones[ string ]List of user's contacts phone numbersYes

RegisteredUserResponse

NameTypeDescriptionRequired
contactstringContact phone no.No
emailstringContact email addressNo
firstNamestringUser First NameNo
idlongPrimary KeyNo
lastNamestringUser Last NameNo
profileUrlstringUser profile image path.No

ResponseEntity

NameTypeDescriptionRequired
bodyobjectNo
statusCodestringNo
statusCodeValueintegerNo

SwitchTenantRequest

NameTypeDescriptionRequired
refreshTokenstringRefresh tokenYes
tenantIdlongTenant IDYes
userNamestringUsernameYes

UserAttributeUpdateRequest

NameTypeDescriptionRequired
contactstringContact NumberNo
emailstringUser emailNo
firstNamestringUser First NameNo
lastNamestringUser Last NameNo

UserChangePasswordRequest

NameTypeDescriptionRequired
newPasswordstringNew valid passwordYes
oldPasswordstringOld valid passwordYes

UserDto

NameTypeDescriptionRequired
appNamestringApplication nameYes
authUserIdstringAuth0 User IDNo
contactstringUser contact numberNo
deletedbooleanDelete FlagNo
departmentstringUser DepartmentNo
designationstringUser DesignationNo
emailstringUser emailNo
firstNamestringUser First NameYes
fullNamestringNo
genderLookUpCodestringGenderNo
idlongPrimary KeyNo
lastNamestringUser Last NameYes
profileUrlstringUser profile image path.No
roleGroupstringRole GroupYes
statusstringStatus like Active/ InActiveNo
tenantIdlongTenant IdYes
userNamestringUsernameNo

UserOtpResponse

NameTypeDescriptionRequired
contactstringNo
expirydateTimeNo
otpstringNo
otpTypestringNo
sessionstringNo

UserTenantRelRequest

NameTypeDescriptionRequired
appNamestringApplication nameNo
bookkeeperPaysbooleanbook keeper team pays or client paysNo
contactstringUser Contact NumberNo
createUserInTenantbooleanFlag to control creation of users in tenantNo
emailIdstringEmailNo
firstNamestringUser First NameNo
iamUserIdlongIAM app_user idNo
inviteUserbooleanNo
isBookkeeperbooleanFlag indicate user book keeperNo
isEmailVerifiedbooleanEmail Verification RequiredNo
isGoUserbooleanGo request to add user to ERPNo
isPartnerbooleanFlag indicate partner book keeperNo
isTeambooleanbook keeper team or clientNo
isWebsitebooleanFlag to indicate signup from websiteNo
lastNamestringUser Last NameNo
organizationNamestringPass organization name if you want to create org without setupNo
passwordstringPasswordNo
roleGroupstringRole GroupNo
shouldSendEmailbooleanflag to send email or notNo
socialAuthstringNeeded, if user is signing up via social loginNo
tenantIdlongTenant IDNo

WebSignInRequest

NameTypeDescriptionRequired
passwordstringUser passwordYes
userNamestringUsernameYes

WebSignupRequest

NameTypeDescriptionRequired
bookkeeperPaysbooleanbook keeper team pays or client paysNo
contactstringUser Contact NumberNo
createUserInTenantbooleanFlag to control creation of users in tenantNo
emailIdstringEmailNo
firstNamestringUser First NameNo
iamUserIdlongIAM app_user idNo
isBookkeeperbooleanFlag indicate user book keeperNo
isEmailVerifiedbooleanEmail Verification RequiredNo
isGoUserbooleanGo request to add user to ERPNo
isPartnerbooleanFlag indicate partner book keeperNo
isTeambooleanbook keeper team or clientNo
isWebsitebooleanFlag to indicate signup from websiteNo
lastNamestringUser Last NameNo
organizationNamestringPass organization name if you want to create org without setupNo
passwordstringPasswordNo
shouldSendEmailbooleanflag to send email or notNo
socialAuthstringNeeded, if user is signing up via social loginNo

Enums


ACTION

  • checkExistingUserDetails