ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Inscrever Presença

AI-generated

Summary

Subscribes the ZapGate instance to presence updates for a WhatsApp contact or group, by sending a POST request to the presence subscription endpoint.

Inputs

  • Número (phone) (required) — Phone number with country code, digits only (for example, 5511999999999), or a group JID (for example, 120363123456789012@g.us). Requires ZapGate credentials with an instance ID and a valid admin API key or instance token.

Output shape

A single output item per input item, containing the API response as JSON.

The operation makes a POST request to /instances/{instanceId}/user/presence/subscribe and sends the phone value in the request body. The response fields depend on the ZapGate API.

Links

Discussion