WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Auto Reply → Create

AI-generated

Summary

Creates an auto-reply rule for the specified WA-AKG session using the provided JSON configuration.

Inputs

  • sessionId (required) — The Session ID to use for this request
  • autoReplyData (required) — JSON configuration for the auto-reply rule (e.g., {@keyword: 'help', reply: 'Hi!'})

Output shape

object

The response from the WA-AKG API containing the created auto-reply rule details (typically includes the rule ID and the supplied configuration).

Examples

Example 1: Add a help auto-reply

Set sessionId to the active session and autoReplyData to {@keyword: 'help', reply: 'Hi! How can I help you?'} to create a rule that replies with the given message when the keyword 'help' is received.

Links

Discussion