DevConnectAi Tool icon

DevConnectAi Tool

Ferramenta para agentes IA interagirem com WhatsApp via DevConnectAi - Envia mensagens, gerencia contatos, tickets e muito mais

👤 Criar Contato

AI-generated

Summary

Creates a new contact in the DevConnectAi WhatsApp system.

Inputs

  • tokenType — Selects which authentication token to use: connection, company, or admin.
  • name (required) — Full name of the contact.
  • email — Email address of the contact (optional for this operation).
  • phone — Phone number in international format (e.g., 5511999999999).
  • profilePicUrl — URL of the contact's profile picture.
  • isGroup — Whether the contact is a group chat.
  • channel — Communication channel (WhatsApp, Facebook, Instagram).
  • extraInfo — Extra information for the contact as a JSON string.

Output shape

object containing the server's response for the contact creation, including success status and timestamp

The response structure is defined by the DevConnectAi API; it may include success flag and timestamp but no guaranteed additional fields.

Examples

Example 1: Add a new client contact via WhatsApp

name: John Doe; phone: 5511999999999; channel: whatsapp; tokenType: connection

Example 2: Create a group contact with extra metadata

name: Support Team; isGroup: true; channel: whatsapp; extraInfo: '[{"key":"department","value":"support"}]'

Discussion