Z-PRO icon

Z-PRO

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

Actions198

Interativo Messenger → Personas (List/Create/Delete)

AI-generated

Summary

Manage personas in Interativo Messenger by listing existing personas, creating new ones, or deleting them.

Inputs

  • Base URL (required) — The base URL identifier used in the request path.
  • API ID (required) — The API ID used in the request path identifying the target API.
  • Action — The action to perform: 'create' to add a new persona, 'list' to retrieve all personas, or 'delete' to remove a persona.
  • Name — The name of the persona to create (used when action is 'create').
  • Profile Picture URL — URL of the profile picture for the persona (used when action is 'create').

Output shape

a list of personas on 'list' action; details of created persona fields on 'create'; confirmation response on 'delete'.

The operation supports batching and request options such as proxy, timeout, and SSL validation. The 'action' field determines request behavior: 'list' returns all personas, 'create' requires 'name' and optionally 'profilePictureUrl', and 'delete' requires identifying which persona to remove (not detailed in inputs). Output structure depends on the action.

Examples

Example 1: List Personas

Set 'Action' to 'list' with required Base URL and API ID to retrieve all existing personas.

Example 2: Create Persona

Set 'Action' to 'create', provide 'Name' and optionally 'Profile Picture URL' alongside Base URL and API ID to add a new persona.

Example 3: Delete Persona

Set 'Action' to 'delete' with Base URL and API ID; additional specification of the persona to delete is needed (not detailed).

Links

Discussion