curl --request POST \
--url https://api.wppfy.com/sender/cleardone \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '{
"hours": 168
}'{
"status": "cleanup started"
}Starts batch cleanup process for old messages that were successfully sent. By default, removes messages older than 7 days.
curl --request POST \
--url https://api.wppfy.com/sender/cleardone \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '{
"hours": 168
}'{
"status": "cleanup started"
}