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

WhatsApp Server Status Request

POST https://pickyassist.com/app/api/v2/device-status

This API request will fetch the WhatsApp Server Status

Request Body

NameTypeDescription

token

string

Your API Token

application

string

10 = WhatsApp Web Automation

{
   "project_id":"929",
   "status":"CONNECTED",
   "connected_number":"1341881114",
   "version":"2.2119.6",
   "message_queue_count":0,
   "time":"2021-06-01T14:05:26+05:30"
}

Sample Request

{
  "token": "2fb9da4f0544f6c57883a0122188121f29",
  "application" : 10
}

Sample Response

{
   "project_id":"929",
   "status":"CONNECTED",
   "connected_number":"1341881114",
   "version":"2.2119.6",
   "message_queue_count":0,
   "time":"2021-06-01T14:05:26+05:30"
}

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

Server Command API's

POST https://pickyassist.com/app/api/v2/device-action

This API allows you to command your server remotely like , clearing a queue , restart the app or server etc.

Path Parameters

NameTypeDescription

token

string

API Token

command

string

Command Which need to be executed

application

number

10 = WhatsApp Web Automation

{
  "status": 100,
  "message": "Success"
}

Sample Request

{
   "token":"f068950cf8a61e666bd8644c26dbf556e3bd",
   "command":"disconnect",
   "application":10
}

Sample Response

{
  "status": 100,
  "message": "Success"
}

Last updated