Description
This endpoint initializes a new WhatsApp session. After starting the session, you will need to authenticate it using the QR Code or pairing code. You can provide custom configurations for the session storage and logs.URL Parameters
Unique session ID to be started
Body
Body Parameters
Property | Type | Required | Description |
---|---|---|---|
config | object | ❌ No | Optional session configurations |
config.store | object | ❌ No | Session storage configurations |
config.store.dialect | string | ❌ No | Database type (default: “sqlite3”) |
config.store.address | string | ❌ No | Database file path (default: “/app/data/whatsmeow.db”) |
config.log | object | ❌ No | Session log configurations |
config.log.level | string | ❌ No | Log level: “DEBUG”, “INFO”, “WARN”, “ERROR” (default: “INFO”) |
Status Codes
200
- Session started successfully400
- Invalid parameters409
- Session already exists and is active
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
The session name (instanceName) you want to start
Body
application/json · object