WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Scheduler → Create

AI-generated

Summary

Create a scheduled task

Inputs

  • sessionId (required) — The Session ID to use for this request
  • scheduleData (required) — JSON configuration for the scheduled task. E.g. {"to": "628...", "message": "hello", "time": "2024-01-01T10:00:00Z"}

Output shape

a schedule object containing the generated schedule ID and configuration

Success returns the created schedule details; failures return an error response

Examples

Example 1: Schedule a one‑time message

sessionId = "mySession"; scheduleData = {"to":"6281234567@s.whatsapp.net","message":"Hello","time":"2024-01-02T15:00:00Z"}

Example 2: Create a recurring reminder

sessionId = "mySession"; scheduleData = {"to":"6289876543@s.whatsapp.net","message":"Reminder","time":"2024-01-03T09:00:00Z"}

Links

Discussion