curl --request POST \
--url https://api.l2msg.com/whatsapp/schedule \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}'
{
"id": "780bd49b-f451-46f8-b60d-1526bdda9a27",
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}
Create Schedule
curl --request POST \
--url https://api.l2msg.com/whatsapp/schedule \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}'
{
"id": "780bd49b-f451-46f8-b60d-1526bdda9a27",
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}
Your authorization key header
Ok
The response is of type object
.