showAllService
GET
/module/showAllServiceShow all agent services
This method retrieves all the available services using the provided agentKey
.
Request
Method: GET
URL:
https://api.whatsiplus.com/module/showAllService
Query Parameters:
- agentKey (string, required): The key of the agent
Response:
serviceCount
(integer): The count of services available.services
(array): An array of service objects containing the following properties:apiKey
(string): Your user service API KEY.whatsappNumber
(string): The WhatsApp number associated with the service.connectedToWhatsapp
(boolean): Indicates if the service is connected to WhatsApp.expire
(string): The expiry date of the service.getMessageStatus
(boolean): Indicates whether the ability to receive WhatsApp messages for the service is enabled or not..webhook
(string): The webhook URL associated with the service.
Request
Your Agent KEY
Request samples
Responses
{
"serviceCount": 3,
"services": [
{
"apiKey": "UserAPIKEY1",
"whatsappNumber": "",
"connectedToWhatsapp": false,
"expire": "2024-06-22",
"getMessageStatus": false,
"webhook": ""
},
{
"apiKey": "UserAPIKEY2",
"whatsappNumber": "1234567890",
"connectedToWhatsapp": true,
"expire": "2024-05-28",
"getMessageStatus": true,
"webhook": ""
},
{
"apiKey": "UserAPIKEY3",
"whatsappNumber": "1234567890",
"connectedToWhatsapp": true,
"expire": "2024-05-15",
"getMessageStatus": true,
"webhook": ""
}
]
}