WhatsApp Automation Server Status API
WhatsApp Web Automation Server Status & Command API's
This API request will fetch the WhatsApp Automation Server Status also able to remotely control your WhatsApp Server by giving Commands like Server Reboot, App Restart, Clear Queue etc
post
https://pickyassist.com/app/api/v2/
device-status
WhatsApp Server Status Request

Sample Request

1
{
2
"token": "2fb9da4f0544f6c57883a0122188121f29",
3
"application" : 10
4
}
5
Copied!

Sample Response

1
{
2
"project_id":"929",
3
"status":"CONNECTED",
4
"connected_number":"1341881114",
5
"version":"2.2119.6",
6
"message_queue_count":0,
7
"time":"2021-06-01T14:05:26+05:30"
8
}
Copied!

Response Variables

Variable
Type
Description
project_id
Numeric
Project id associated with the Server
status
String
CONNECTED = Connection Established
TIMEOUT = Please check your Phone Internet Connection
UNPAIRED = WhatsApp Web is not paired with our Server
connected_number
Numeric
WhatsApp Number Connected to the Server
version
String
WhatsApp Web Version
message_queue_count
Numeric
Messages Queue count if any in the WhatsApp Server
time
Date
ISO Standard Date & Time as per the Timezone configuration in your Profile

Server Command API's

The Server Command API allows you to manage the Server with various commands which can be used in various situations as below;
You need to pass your command through “command” tag
Command
Description
restart
This will restart the WhatsApp Automation App installed in the Server, you need to call this API if the QR code is not showing or facing some connection issues
restart-server
This will restart the WhatsApp Automaton Server along with its App & Database, this API needs to be triggered only if you are facing any issues which "restart" app is not solved
delete-message-queue
This command will delete all messages which are in Queue
disconnect
This will disconnect the existing connected number with the Server, you must call this API before connecting another number to the Server
clearlogs
This will clear all data and logs stored in your server, you need to trigger this command before connecting another number to your WhatsApp Server
post
https://pickyassist.com/app/api/v2/
device-action
Server Command API's

Sample Request

1
{
2
"token":"f068950cf8a61e666bd8644c26dbf556e3bd",
3
"command":"disconnect",
4
"application":10
5
}
Copied!

Sample Response

1
{
2
"status": 100,
3
"message": "Success"
4
}
Copied!
Last modified 6mo ago