WasenderApi - Low Cost WhatsApp API for Developers Regenerate API Key - API Documentation - WasenderApi - Low Cost WhatsApp API for Developers
WasenderApi API

API Documentation

WasenderApi WhatsApp API

Regenerate API Key

Sessions

POST/api/whatsapp-sessionsv/{whatsappSession}/regenerate-key

Regenerates the API key for a specific WhatsApp session.

Regenerate API Key

Regenerates the API key for a specific WhatsApp session.

This endpoint requires an access token to be included in the Authorization header. You can get the token from here.

Parameters

NameTypeRequiredDescription
whatsappSessionintegerYesID of the WhatsApp session.

Code Examples

curl -X POST "https://www.wasenderapi.com/api/whatsapp-sessionsv/{whatsappSession}/regenerate-key"
  -H "Authorization: Bearer YOUR_API_KEY"
  -H "Content-Type: application/json"

Response Examples

{
    "success": true,
    "api_key": "new_whatsapp_api_key_abc456"
}