Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Chat → Pin
AI-generatedSummary
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).