WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Chat → Pin

AI-generated

Summary

Pin or unpin a WhatsApp chat by toggling its pinned state via the WA-AKG API.

Inputs

  • sessionId (required) — The Session ID to use for this request
  • jid (required) — WhatsApp JID of the chat or contact

Output shape

object

Returns the response from the WA-AKG API for the PUT /api/chat/{sessionId}/{jid}/pin endpoint, typically { success: true }.

Examples

Example 1: Pin a specific chat

Set Session ID to the active session, set Chat JID to the target chat's JID (e.g., 62812345678@s.whatsapp.net or xxxxx@g.us for groups).

Links

Discussion