Restart Instance
Restart Instance
Restart a WhatsApp instance to resolve connection issues or refresh its state.
POST
Restart Instance
Restart a WhatsApp instance when it’s stuck, not responding properly, or experiencing connection issues. This endpoint performs a clean restart of the instance.
Rate Limit
This endpoint is limited to 5 requests per minute to prevent abuse and ensure system stability.When to Use
Restart your instance when:- The instance is stuck in a
STARTINGorPENDINGstate - Messages are not being sent or received
- The instance is not responding to health checks
- After extended periods of inactivity
- When experiencing unexplained connection issues
Response
Upon successful restart:- 200 OK: Instance restarted successfully
- The instance will go through the startup sequence
- Status will transition:
STOPPED→STARTING→WORKING
Important Notes
Restart Process
- Send restart request
- Instance stops current operations
- Instance begins startup sequence
- Connection is re-established
- Instance returns to
WORKINGstatus
Monitoring After Restart
After restarting an instance, monitor its status:Error Responses
- 404: Instance not found - Verify the instance UUID is correct
- 429: Rate limit exceeded - Wait before attempting another restart
- 500: Failed to restart instance - Try manual restart from dashboard or contact support
Alternative
If the API restart fails, you can always restart the instance manually from the Hypersender dashboard as a fallback option.Authorizations
Bearer token authentication. Example: Bearer 234|3uB2pBST2H6If8twXIeUaeNu23VJ8XassYoOVJuva48388e1
Headers
application/json
Example:
"application/json"
Path Parameters
Instance UUID copied from hypersender dashboard
Example:
"{{ instance_id }}"
Response
Instance restarted successfully
Example:
"WhatsApp instance restarted successfully."