Get accounts list
Get Online accounts list.
Settings:
URL | |
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 []:
| ||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|