Skip to Content
My App
Api

Scheduled

Schedule a WhatsApp send for a future time, list upcoming scheduled messages, and cancel one before it goes out.

GET
/scheduled

Authorization

http
headerAuthorizationBearer <token>

Response Body

application/json
  1. response
data*array<string>
meta*
Example Request
curl -X GET 'https://aexrux.com/api/v1/scheduled'
Example Response200
{  "data": [    "string"  ],  "meta": {    "count": 0  }}
POST
/scheduled

Authorization

http
headerAuthorizationBearer <token>

Request Body

application/json
  1. body

Schedule a WhatsApp send for later. Scramble reads these rules to document the request body. Mirrors the input keys the existing QueueController::scheduleMessage accepts (name / message / template_id / recipients / send_at / timezone / device_id), exposed under public-facing names. A template OR a message body is required.

name*string

Schedule label. Required.

Lengthlength <= 255
message?|

Body text (required unless a template_id is given). Max 4096 chars.

Lengthlength <= 4096
template_id?|

WaTemplate id to send instead of free text (optional).

device_id?|

Sending device id (optional — defaults to the workspace's connected device).

run_at*string

When to send — ISO 8601 / parseable datetime interpreted in timezone. Required.

Lengthlength <= 64
timezone?|

IANA timezone for run_at (e.g. Asia/Kolkata). Defaults to the workspace timezone.

Lengthlength <= 64
recipients*array<>

Recipient phone numbers in international format. At least one required.

Items1 <= items

Response Body

application/json
  1. response
data*array<unknown>
meta*string
Example Request
curl -X POST 'https://aexrux.com/api/v1/scheduled' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "run_at": "string",  "recipients": [    "string"  ]}'
Example Response
{  "data": [    null  ],  "meta": "string"}
GET
/scheduled/{id}

Authorization

http
headerAuthorizationBearer <token>

Path Parameters

id*integer

Response Body

application/json
  1. response
data*array<unknown>
meta*string
Example Request
curl -X GET 'https://aexrux.com/api/v1/scheduled/0'
Example Response
{  "data": [    null  ],  "meta": "string"}
DELETE
/scheduled/{id}

Authorization

http
headerAuthorizationBearer <token>

Path Parameters

id*integer

Response Body

application/json
  1. response
data*array<unknown>
meta*string
Example Request
curl -X DELETE 'https://aexrux.com/api/v1/scheduled/0'
Example Response
{  "data": [    null  ],  "meta": "string"}