PUT
/
schedule
/
{scheduleID}
curl --request PUT \
  --url https://api.l2msg.com/whatsapp/schedule/{scheduleID} \
  --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
}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

scheduleID
string
required

ID do agendamento a ser atualizado

Body

application/json

Response

200 - application/json

Ok

The response is of type object.