Mark or unmark message as favorite
PUT method, not POST.
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will star the message |
jid | string | ✅ Yes | Chat identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
messageId | string | ✅ Yes | Message ID a ser favoritada |
star | boolean | ✅ Yes | true para favoritar, false para desfavoritar |
200 - Message favoritada/desfavoritada com sucesso400 - Invalid parameters401 - Unauthorized session404 - Session not found501 - Not implementedYour Wappfy API key (get it at dash.wappfy.com.br)
Message ID to be starred
"[email protected]_AAAAAAAAAAAAAAAAAAAA"
Chat ID (WhatsApp JID)
true para favoritar, false para desfavoritar
Session name (instanceName)
"my-session"