GoZAP Contacts icon

GoZAP Contacts

Listar e gerenciar contatos

GoZAP Contacts

AI-generated

Summary

Adds a contact to the instance’s address book using a phone number or WhatsApp JID and a contact name, or removes a contact using its number or JID. The operation sends the change to the GoZAP contacts API and returns its response.

Inputs

  • Instance Token (required) — Token for the GoZAP instance.
  • Number (required) — International phone number or WhatsApp JID ending in @s.whatsapp.net. Required for both add and remove.
  • Name (required) — Contact’s full name. Required when adding a contact.

Output shape

A single API response item for each input item.

The add and remove requests return the GoZAP API response. If Continue On Fail is enabled, errors are returned as an item with an error field.

Examples

Example 1: Add a contact

Provide the instance token, contact number or JID, and contact name.

Example 2: Remove a contact

Provide the instance token and contact number or JID.

Links

Discussion