Cara membuat pesan terjadwal

addScheduleMessage

post

Membuat jadwal pengiriman pesan baru

Body
apiKeystringOptionalExample: api_key
date_timestringOptionalExample: date_time
messagestringOptionalExample: message
recipientsstringOptionalExample: recipients
repeat_intervalstringOptionalExample: repeat_interval
repeat_typestringOptionalExample: repeat_type
statusstringOptionalExample: status
titlestringOptionalExample: title
type_messagestringOptionalExample: type_message
url_filestringOptionalExample: url_file
Responses
200
Response 200 Copy
application/json
post
POST /api/addScheduleMessage HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 240

"apiKey='api_key'&date_time='date_time'&message='message'&recipients='recipients'&repeat_interval='repeat_interval'&repeat_type='repeat_type'&status='status'&title='title'&type_message='type_message'&url_file='url_file'"
200

Response 200 Copy

{
  "data": {
    "apiKey": "xxxxx",
    "date_time": "2025-06-30 14:25:00",
    "id": "xxxxx",
    "message": "Coba aja ini ya",
    "recipients": "[email protected]",
    "repeat_interval": null,
    "repeat_type": null,
    "status": "active",
    "title": "Testing Schedule",
    "type_message": "text",
    "url_file": null
  },
  "message": "Schedule added successfully",
  "status": true
}