API Docs

Send Direct Message Api

POST

Send Text

https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=hello this is a test message&type=text&number=919999999999
HEADERS
Content-Type
application/json
PARAMS
client_id
e3493aecced692c73ef4bc969116c13e
instance
0a6d35d95b6ae76f5e9d21a2b9dab0f1
message
hello this is a test message
type
text
number
9199999999999


Example Request
Send Text
curl --location --request POST 'https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=hello%20this%20is%20a%20test%20message&type=text&number=919999999999' \
--header 'Content-Type: application/json' \
--data-raw ''
Example Response
200 OK
Body
Header(12)
{
  "status": "successfully queued",
  "number": "919999999999",
  "message": "hello+this+is+a+test+message",
  "date": "21-02-19 04:21:58"
}
POST

Send File

https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=https://console.wa0.in/images/icon/logo.png&type=file&number=919999999999
HEADERS
Content-Type
application/json
PARAMS
client_id
e3493aecced692c73ef4bc969116c13e
instance
0a6d35d95b6ae76f5e9d21a2b9dab0f1
message
https://console.wa0.in/images/icon/logo.png
type
file
number
919999999999


Example Request
Send File
curl --location --request POST 'https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=https://console.wa0.in/images/icon/logo.png&type=file&number=919999999999' \
--header 'Content-Type: application/json' \
--data-raw ''
Example Response
200 OK
Body
Header(12)
{
  "status": "successfully queued",
  "number": "919999999999",
  "message": "https://console.wa0.in%2Fimages%2Ficon%2Flogo.png",
  "date": "21-02-19 04:22:09"
}
POST

Send Dynamic File

https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=https://console.wa0.in/images/icon/logo.png&type=file&number=919999999999&dynamic=true&file_type=image
HEADERS
Content-Type
application/json
PARAMS
client_id
e3493aecced692c73ef4bc969116c13e
instance
0a6d35d95b6ae76f5e9d21a2b9dab0f1
message
https://console.wa0.in/images/icon/logo.png
type
file
number
919999999999
dynamic
true
file_type
image


Example Request
Send Dynamic File
curl --location --request POST 'https://console.wa0.in/api/send.php?client_id=e3493aecced692c73ef4bc969116c13e&instance=0a6d35d95b6ae76f5e9d21a2b9dab0f1&message=https://console.wa0.in/images/icon/logo.png&type=file&number=919999999999&dynamic=true&file_type=image' \
--header 'Content-Type: application/json' \
--data-raw ''
Example Response
200 OK
Body
Header(12)
{
  "status": "successfully queued",
  "number": "919999999999",
  "message": "https://console.wa0.in//api/files/69756.png",
  "date": "21-02-19 04:22:51"
}

Groups Api

POST

Create Group

https://console.wa0.in/api/creategroup.php?client_id=3b008f884a35883893bd5a8fdf0d33c8&instance=bd1ed996ef40ba2fdddfdd95363ed091&group_name=Demo Group8&group_members=919999999998,919999999999
HEADERS
Content-Type
application/json
PARAMS
client_id
3b008f884a35883893bd5a8fdf0d33c8
instance
bd1ed996ef40ba2fdddfdd95363ed091
group_name
Demo Group8
group_members
919999999999,919999999998


Example Request
Create Group
curl --location --request POST 'https://console.wa0.in/api/creategroup.php?client_id=3b008f884a35883893bd5a8fdf0d33c8&instance=bd1ed996ef40ba2fdddfdd95363ed091&group_name=Demo%20Group9&group_members=919999999999,919999999998' \
--header 'Content-Type: application/json' \
--data-raw ''
Example Response
200 OK
Body
Header(12)
{
  "status": "success",
  "message": "group creation successfull",
  "data": "[email protected]"
}
POST

Add Member

https://console.wa0.in/api/addmember.php?client_id=3b008f884a35883893bd5a8fdf0d33c8&instance=bd1ed996ef40ba2fdddfdd95363ed091&[email protected]&number=919999999998
HEADERS
Content-Type
application/json
PARAMS
client_id
3b008f884a35883893bd5a8fdf0d33c8
instance
bd1ed996ef40ba2fdddfdd95363ed091
number
919999999999


Example Request
Add Member
curl --location --request POST 'https://console.wa0.in/api/addmember.php?client_id=3b008f884a35883893bd5a8fdf0d33c8&instance=bd1ed996ef40ba2fdddfdd95363ed091&[email protected]&number=919999999998' \
--header 'Content-Type: application/json' \
--data-raw ''
Example Response
200 OK
Body
Header(11)
{
  "status": "success",
  "message": "member added sucesfully"
}
POST

Remove Member

https://console.wa0.in/api/removemember.php?client_id=3b008f884a35883893bd5a8fdf0d33c8&instance=bd1ed996ef40ba2fdddfdd95363ed091&[email protected]&number=919999999998
HEADERS
Copyright © Whts app Labs