Replace the default reminder sequence

posthttps://api.expiryedge.com/v1/saveReminderSettings
editor or admin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/saveReminderSettings' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "timezone": "America/Chicago",
  "reminders": [
    {
      "amount": 30,
      "time_unit": "day",
      "period": "before",
      "time": "09:00"
    },
    {
      "amount": 1,
      "time_unit": "week",
      "period": "before",
      "time": "09:00"
    }
  ]
}'
Antwort
{
  "message": "Reminder settings saved successfully",
  "reminders": [
    {
      "amount": 30,
      "time_unit": "day",
      "period": "before",
      "time": "09:00",
      "timezone": "America/Chicago"
    }
  ]
}

Replaces all saved default reminders (max 50). timezone is applied to every row (default UTC). Validation errors return code: VALIDATION_ERROR.

Body-Parameter

application/json
  • remindersarray of objectserforderlich
    max items: 50
  • timezonestring
    IANA timezone applied to all reminders.
    max length: 64

Rückgabe

200
Saved.
  • messagestringerforderlich
  • remindersarray of objectserforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.