Cancel Reminder API
End Point: https://wbiztool.com/api/v1/reminder/cancel/
Request Type: POST
Fields in Response
-
status (Integer)
- 1 for success, 0 for error -
message (String)
- Success or error message
Example Request
{
"client_id": 12345,
"api_key": "your-api-key",
"reminder_id": 789
}
Example Response (Success)
{
"status": 1,
"message": "Reminder cancelled successfully"
}
Example Response (Error)
{
"status": 0,
"message": "Reminder not found"
}
cURL Example
curl -X POST "https://wbiztool.com/api/v1/reminder/cancel/" \
-H "Content-Type: application/json" \
-d '{
"client_id": 12345,
"api_key": "your-api-key",
"reminder_id": 789
}'
Python Example
import requests
import json
url = "https://wbiztool.com/api/v1/reminder/cancel/"
payload = {
"client_id": 12345,
"api_key": "your-api-key",
"reminder_id": 789
}
headers = {
'Content-Type': 'application/json'
}
response = requests.post(url, headers=headers, data=json.dumps(payload))
print(response.json())
JavaScript/Node.js Example
const axios = require('axios');
const data = JSON.stringify({
"client_id": 12345,
"api_key": "your-api-key",
"reminder_id": 789
});
const config = {
method: 'post',
url: 'https://wbiztool.com/api/v1/reminder/cancel/',
headers: {
'Content-Type': 'application/json'
},
data: data
};
axios(config)
.then(response => console.log(JSON.stringify(response.data)))
.catch(error => console.log(error));
Important Notes
- Cancelling a reminder permanently deletes it from the system
- You can only cancel reminders that belong to your organization
- Once cancelled, the reminder cannot be recovered
- Any pending executions of the cancelled reminder will not run
- Use the List Reminders API to get reminder IDs
- This operation requires a valid API key and active subscription
- The reminder_id must be an integer value
Common Error Responses
Error Message | Cause | Solution |
---|---|---|
Reminder not found | Invalid reminder_id or reminder doesn't belong to your organization | Verify the reminder_id using List Reminders API |
Invalid reminder id | reminder_id is not a valid integer | Ensure reminder_id is a numeric value |
Auth Error: invalid api key | API key is incorrect or expired | Check your API key from the API Keys page |
Upgrade your plan to use reminders feature | Your subscription doesn't include reminders | Upgrade to a paid plan that includes reminders |