Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Websocket
Schedules
Create Schedule
Create Schedule
POST
/
schedule
Copy
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
}'
Copy
{
"id": "780bd49b-f451-46f8-b60d-1526bdda9a27",
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}
Authorizations
Your authorization key header
Body
application/json
Response
200 - application/json
Ok
The response is of type object
.
Copy
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
}'
Copy
{
"id": "780bd49b-f451-46f8-b60d-1526bdda9a27",
"phone": "+5561999999999",
"text": "CRON REP TEST",
"sendAt": 1744228685,
"channel": "Channel",
"cronExpr": "*/3 * * * *",
"repeats": 2
}
Assistant
Responses are generated using AI and may contain mistakes.