Get accounts list

Get Online accounts list.


Settings:

URL

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

Method

JSON via GET

Header

Authorization: Bearer {{access_token}}

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


Body: nothing, leave it empty.


Response:


{
    "status": "OK",
    "reason": 1,
    "totalOnline": 2,
    "list": [
        {
            "create_time": 1735811185,
            "account_name": "My Business A",
            "account_id": "1",
            "server": "online",
            "account_status": "active",
            "reference": "12345"
        },
        {
            "create_time": 1735811186,
            "account_name": "My Business B",
            "account_id": "2",
            "server": "online",
            "account_status": "suspended",
            "reference": "12345"
        }
    ]
}


Response-Explain:

Parameter

Description

status

OK or FAIL

"OK" means the request was successful.

"Fail" means error.

totalOnline

The total number of online accounts you manage

list

array of the following table []:

name

explanation

create_time

The UNIX time that this account was created

account_name

The account name

account_id

The ID of the account

server

The server subdomain hosting the account

account_status

The account status - active / suspended

reference

Your reference value

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 GET method.