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
Query Params
agentKey
string
required
Your Agent KEY
Example:
AGENTKEY
Request samples
Responses
showAllService(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
serviceCount
integer
required
services
array [object {6}]
required
apiKey
string
required
whatsappNumber
string
required
connectedToWhatsapp
boolean
required
expire
string
required
getMessageStatus
boolean
required
webhook
string
required
ExampleshowAllService
{
"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": ""
}
]
}
Last modified: 6 months ago