Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Websocket
Instances
Restart Instance
Restarts the instance
PUT
/
instance
/
restart
/
{instance}
Copy
curl --request PUT \
--url https://api.l2msg.com/whatsapp/instance/restart/{instance} \
--header 'apikey: <api-key>'
Copy
{
"instance": {
"instanceName": "teste-docs",
"state": "open"
}
}
Authorizations
Your authorization key header
Path Parameters
Name of the instance to restart
Response
200
application/json
Ok
The response is of type object
.
Copy
curl --request PUT \
--url https://api.l2msg.com/whatsapp/instance/restart/{instance} \
--header 'apikey: <api-key>'
Copy
{
"instance": {
"instanceName": "teste-docs",
"state": "open"
}
}
Assistant
Responses are generated using AI and may contain mistakes.