Update an expiry
post
https://api.expiryedge.com/v1/updateExpiryeditor or admin60/min
Request
curl -X POST 'https://api.expiryedge.com/v1/updateExpiry?id=exp_4Tq9sLm2' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"expiry_date": "2027-10-15",
"state": "inprogress",
"notes": "Renewal submitted on 2026-09-27; awaiting board confirmation."
}'Response
{
"message": "Expiry updated successfully"
}Partial update: only the fields sent are changed. Server-owned fields (organization_id, user_id, share_token,
created_at, recurrence and escalation bookkeeping) are ignored.
idstringrequiredExpiry id.
Any subset of the writable expiry fields.
namestringDisplay name.typestringExpiry type name (see getExpiryTypesWithStats).expiry_datestringCalendar dateYYYY-MM-DDin the organization's timezone.expiry_timezonestringIANA timezone forexpiry_datewhen it carries a time.start_datestring | nullstart_timezonestringprioritystringAllowedLowMediumHighstatestringWorkflow state; defaults totodo.Allowedtodoinprogressonholdinreviewcompletednotesstringurlstringdocument_typestringtagsarray of stringteam_idstringTeam id, or'0'for no team.folder_idstring | nullassigned_tostring | nullUser id of the assignee (must be in your organization).assigned_bystringcontactsarray of stringContact ids that receive reminders.directory_entry_idsarray of stringis_publicbooleanEnables the public share link (viewExpiry).share_passwordstringOptional password for the share link. Never returned.valuenumber | nullpenalty_amountnumber | nullcurrencystring | nullISO 4217 code, uppercase.custom_columnsobjectchecklist_itemsarray of objectstemplate_idstring | nulltemplate_namestring | nulltemplate_fieldsarray of objects | nulltemplate_dataobject | nullfileUrlsarray of stringfileNamesarray of stringis_recurringbooleanrecurrence_typestring | nullAlloweddayweekmonthyearrecurrence_intervalinteger | nullrecurrence_countinteger | nullrecurrence_end_datestring | nullrecurrence_modestringDefaults torenew_as_copy.Allowedrenew_as_copyrenew_sameauto_renewbooleanauto_renew_vendorstring | nullescalation_enabledbooleanAlways false on create unless explicitly true.escalation_contactsarray of stringescalation_notification_daysarray of integerDays before expiry at which escalation fires (0-365).
200
Updated.
messagestringrequired
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. |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
