Skip to main content
The Scheduler API allows authenticated organizational users to schedule WhatsApp messages programmatically. The API validates user organization membership, verifies required message details, and handles permission issues.
Do not use this API for spam or bulk messaging. Misuse may result in account bans.

Endpoint

POST https://api.eazybe.com/v2/scheduler/public-scheduler

Postman Collection

Access the API collection via the EazyBe shared Postman workspace.

Authentication

You need to obtain the Organization Auth Token from your EazyBe Workspace.
1

Access EazyBe Workspace

2

Navigate to Organization Page

An admin needs to access the Organization page.
3

Copy Auth Token

The Organization Auth Token will be displayed on this page. Copy it for API use.Organization Auth Token

Request Payload

The API requires the following fields:
FieldTypeDescription
fromstringSender’s organizational email address
tostringReceiver’s phone number (international format)
messagestringText content to send
namestringReceiver’s name for notifications
timestringScheduled delivery timestamp (ISO 8601 format)

Example Payload

{
  "from": "[email protected]",
  "to": "919876543210",
  "message": "Hello World",
  "name": "Vats",
  "time": "2024-03-01T17:25:00.000Z"
}

Code Example (Node.js)

const axios = require('axios');

const config = {
  method: 'post',
  url: 'https://api.eazybe.com/v2/scheduler/public-scheduler',
  headers: {
    'Authorization': 'Bearer YOUR_ORGANIZATION_AUTH_TOKEN',
    'Content-Type': 'application/json'
  },
  data: {
    from: '[email protected]',
    to: '919876543210',
    message: 'Hello World',
    name: 'Vats',
    time: '2024-03-01T17:25:00.000Z'
  }
};

axios(config)
  .then(response => console.log(response.data))
  .catch(error => console.error(error));

Response Status

StatusDescription
SuccessMessage scheduled successfully
FailureInvalid email, missing fields, or permission issues

Best Practices

Verify Sender

Ensure the sender email belongs to your organization

Avoid Spam

Do not use for mass messaging or spam activities

Valid Token

Maintain a valid Organization Auth Token

International Format

Use international phone number format (e.g., 919876543210)

If you have any questions or need further assistance, feel free to reach out to us at [email protected]. We’re happy to help!