Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Canais e Sessões → Create Session

AI-generated

Summary

Create a new WhatsApp session in the Z-PRO platform by specifying its name, status, and type.

Inputs

  • Name — Optional name to assign to the WhatsApp instance session.
  • Status — Initial status of the session; either DISCONNECTED or CONNECTED.
  • Type — Type of the session, defaulting to 'baileys'.

Output shape

a single record representing the created session details

The output contains the session object created on the Z-PRO server. Optional requestOptions can modify HTTP request behavior but do not affect output shape.

Examples

Example 1: Create a new WhatsApp session named 'My WhatsApp Instance' with initial status 'DISCONNECTED' and type 'baileys'

Name set to 'My WhatsApp Instance', Status set to 'DISCONNECTED', Type set to 'baileys'

Links

Discussion