Reschedule pending reminders to a new timezone

posthttps://api.expiryedge.com/v1/syncOrganizationTimezone
admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/syncOrganizationTimezone' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "organization_id": "org_northwind",
  "new_timezone": "America/Denver"
}'
Response
{
  "message": "Timezone synced successfully",
  "updated": 42,
  "new_timezone": "America/Denver"
}

Recomputes scheduled_at for every pending reminder in your organization using new_timezone (keeps each reminder's local time). Does not change the organization's timezone setting itself.

Body parameters

application/json
  • organization_idstringrequired
    Must be your own organization id.
  • new_timezonestringrequired
    Valid IANA timezone.

Returns

200
Reminders rescheduled.
  • messagestringrequired
  • updatedintegerrequired
  • new_timezonestring
    Omitted when there were no pending reminders.

Errors

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.