curl --request POST \
--url https://api.helloannie.com/v1/organizations/{orgId}/closures/{closureId} \
--header 'Authorization: Bearer annie-sk-v2-xxxxx' \
--header 'Content-Type: application/json' \
--data '{
"enabled": false
}'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "Staff training",
"recurrence": "NONE",
"start": {
"year": 2026,
"month": 11,
"day": 13,
"time": "12:00"
},
"end": {
"year": 2026,
"month": 11,
"day": 13,
"time": "17:00"
},
"chatGreeting": "Our office is closed this afternoon for staff training. How can I help?",
"phoneGreeting": "Thank you for calling. Our office is closed this afternoon for staff training. How can I help?",
"enabled": true
}
}Closures
Update closure
Update an office closure by ID. Send only the fields to change; omitted fields keep their current values. recurrence, start, and end replace the schedule and must be sent together. Set enabled to false to keep a closure without applying it, and to true to apply it again, instead of deleting and recreating it. Supplied greetings must be nonblank and cannot be null.
POST
/
organizations
/
{orgId}
/
closures
/
{closureId}
curl --request POST \
--url https://api.helloannie.com/v1/organizations/{orgId}/closures/{closureId} \
--header 'Authorization: Bearer annie-sk-v2-xxxxx' \
--header 'Content-Type: application/json' \
--data '{
"enabled": false
}'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "Staff training",
"recurrence": "NONE",
"start": {
"year": 2026,
"month": 11,
"day": 13,
"time": "12:00"
},
"end": {
"year": 2026,
"month": 11,
"day": 13,
"time": "17:00"
},
"chatGreeting": "Our office is closed this afternoon for staff training. How can I help?",
"phoneGreeting": "Thank you for calling. Our office is closed this afternoon for staff training. How can I help?",
"enabled": true
}
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Send only the fields to change; omitted fields keep their current values. recurrence, start, and end replace the schedule and must be sent together. Set enabled to false to stop a closure from applying without deleting it, and to true to apply it again.