Create a new online account


Create a new online Omni Channel for your customers.

After creating an online account, we are also creating your first Admin account and you can immediately access it.

Settings:

URL

https://partners.99digital.co.il/api/online/createAccount

Method

JSON via POST

Header

Authorization: Bearer {{access_token}}

*The access_token can be received from settings->get access token API.


Body:

Parameter

Description / Example

Maximum length

Mandatory

Example

account_name

The account (business) name that will be created

100

Yes

Acme inc

agents

The total agents you allow for this account to create

4

Yes

10

inboxes

The total inboxes you allow for this account to create

3

Yes

10

admin_email

Admin access email that will be created as agent number 1 for this account

50

Yes

my@business.com

admin_name

The agent number 1 name

50

Yes

Test Name

admin_displayName

The agent number 1 display name (that will appear in the online account)

50

Yes

Name

admin_password

The password to create for login to the new admin account.

- minimum 6 characters length.

- at least 1 upper case (A-Z)

- at least 1 lower case (a-z)

- at least 1 special character ( !@#$%^&*()_+-=[]{}|\"/\\.,<>:;?~')

50

Yes

{strong_password}

admin_2fa

Either to allow login to the admin account with 2FA or not

values:

0 - no 2FA

1 - email 2FA

2 - SMS 2FA

The default, in case you don't send anything, will be 0

1

no

1

admin_2fa_value

in case you used 1/2 in "admin_2fa" here you can provide the email address or phone number (international number, without + for example 972501234567) to get the 2FA code before you can login with that new agent

50

no

my@business.com

server

If you wish to install the account on a server other than the main server (online.99digital.co.il) please provide here the subdomain of the server.

** this feature only available for selected partners

30

no

online

reference

Any reference value (text/numbers only) you wish to receive back on the webhook. this is for your use only so you can recognize your client

50

no



Important notice:

If you create admin_email with email that already exist under any of your accounts, we will not try to re-create this email or change any parameters (admin_name,admin_displayName and admin_loginPassword won't be used) instead, we will just allow this email address to have now access to this new account that you are creating. this will not override existing permissions, it will just add this existing agent email to the new account.

Response:


{
"status": "OK",
"reason": 1
"account_id": 8,
"agent_id": 100,
"server": "online

}


Response-Explain:

Parameter

Description

status

OK or FAIL

"OK" means the request was successful

"Fail" means error.

account_id

The newly created account ID

agent_id

The newly created agent ID, this agent can now login to the platform

server

The server subdomain that this account created on https://{{server}}.99digital.co.il

reason

'reason' is the status explanation in case of FAIL

1

not FAIL. the status is OK

2

Wrong credentials

3

Access token does not exist or expired, please generate another one from Settings - Get access token API

13

you need to use POST method.

20

reference is invalid

31

Error on creating an account, please try again or contact support

34

server is invalid or wrong

36

account_name is invalid or wrong

37

agents / inboxes number is invalid or wrong

38

admin_email address is invalid or wrong

39

admin_name or admin_displayName is invalid or wrong

40

admin_password is invalid or wrong or doesn't meet the minimum required

41

admin_2fa is invalid or wrong

42

admin_2fa_value is wrong