Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day’s office hours, in the organization’s timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break’s custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.
Payload to create or update office hours for a specific day
dayOfWeek
enum<string>
required
Available options:
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY
isClosed
boolean
required
Whether the office is closed on this day. When true, open and close times are not required.
open
string | null
Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.
Pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
close
string | null
Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.
Pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
breaks
object[]
Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Every break requires start, end, reason, and greeting. Start must precede end; breaks must be within open/close and cannot overlap. Omit to preserve existing breaks; send [] to clear them. Nonempty breaks are not allowed when isClosed is true.
Show child attributes
Response
Response returned when retrieving or updating office hours for a single day
success
enum<boolean>
required
Available options:
true
data
object
required
Office hours for a specific day of the week
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Annie Docs","colors":{"primary":"#7c3aed","light":"#7c3aed","dark":"#7c3aed"},"logo":{"light":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341","dark":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341"},"favicon":"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/favicon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=da6175d24bdeca2da48b93d293abd488","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"annie","hasAudioNarration":false,"actualSubdomain":"annie","customDomains":["docs.helloannie.com"],"gitSource":{"type":"github","owner":"anniedental","repo":"annie","deployBranch":"prod","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af5f328bb452cd0b1dc055a","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":106},{"language":"default","tag":"Overview","count":18},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Templates","count":13},{"language":"default","tag":"Phone Numbers","count":8},{"language":"default","tag":"Tag Groups","count":8},{"language":"default","tag":"Bots","count":7},{"language":"default","tag":"Organizations","count":7},{"language":"default","tag":"Blueprints","count":6},{"language":"default","tag":"Insurances","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/office-hours/set-office-hours","slug":"/api-reference/office-hours/set-office-hours","pageMetadata":{"title":"Set office hours","description":"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/set-office-hours","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day’s office hours, in the organization’s timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break’s custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set office hours","description":"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/set-office-hours","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Office Hours"],"summary":"Set office hours","description":"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.","parameters":["1e8645be-8480-468a-bafc-f99518762299"],"requestBody":"721a074e-1bc0-4457-9e84-fdc6b73f1ec9","responses":{"200":"be3169ff-6354-440e-a035-f5b7c07e926b","400":"8e50283b-2359-43b3-a7b3-c4a8068709fe","403":"ebb65c90-89ca-4ebf-90ee-618f36cc7a05","404":"60a08351-751b-4661-ba49-de46096fddbc"},"operationId":"postV1OrganizationsByOrgIdOffice-hours","method":"post","type":"path","servers":["c29e0711-86ee-4532-909c-15eccdcff4e6"],"security":["45b45b02-df33-4f66-96af-6b12c8e7e308"],"path":"/organizations/{orgId}/office-hours","baseUrlOptions":["https://api.helloannie.com/v1"],"title":"Set office hours","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1e8645be-8480-468a-bafc-f99518762299":{"name":"orgId","in":"path","required":true,"schema":{"format":"uuid","description":"The ID of the organization","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"description":"Payload to create or update office hours for a specific day","required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["dayOfWeek","isClosed"],"properties":{"dayOfWeek":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"dayOfWeek","typeLabel":"enum\u003cstring>"},"isClosed":{"description":"Whether the office is closed on this day. When true, open and close times are not required.","type":"boolean","isRequired":true,"uniqueKey":"isClosed","typeLabel":"boolean"},"open":{"oneOf":[{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"open.oneOf.0","typeLabel":"string"},{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"open.oneOf.1","typeLabel":"null"}],"uniqueKey":"open","typeLabel":"string | null"},"close":{"oneOf":[{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"close.oneOf.0","typeLabel":"string"},{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"close.oneOf.1","typeLabel":"null"}],"uniqueKey":"close","typeLabel":"string | null"},"breaks":{"description":"Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Every break requires start, end, reason, and greeting. Start must precede end; breaks must be within open/close and cannot overlap. Omit to preserve existing breaks; send [] to clear them. Nonempty breaks are not allowed when isClosed is true.","type":"array","items":{"additionalProperties":false,"type":"object","required":["start","end","reason","greeting"],"properties":{"start":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].start","typeLabel":"string"},"end":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].end","typeLabel":"string"},"reason":{"minLength":1,"maxLength":100,"pattern":"\\S","description":"Required nonblank label for the break, such as Lunch.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].reason","typeLabel":"string"},"greeting":{"minLength":1,"maxLength":500,"pattern":"\\S","description":"Required nonblank phone greeting that replaces the closed greeting during this break.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].greeting","typeLabel":"string"}},"uniqueKey":"breaks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"breaks","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"isClosed":true,"open":"\u003cstring>","close":"\u003cstring>","breaks":[{"start":"\u003cstring>","end":"\u003cstring>","reason":"\u003cstring>","greeting":"\u003cstring>"}]}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"additionalProperties":false,"type":"object","required":["dayOfWeek","isClosed"],"properties":{"dayOfWeek":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"dayOfWeek","typeLabel":"enum\u003cstring>"},"isClosed":{"description":"Whether the office is closed on this day. When true, open and close times are not required.","type":"boolean","isRequired":true,"uniqueKey":"isClosed","typeLabel":"boolean"},"open":{"oneOf":[{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"open.oneOf.0","typeLabel":"string"},{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"open.oneOf.1","typeLabel":"null"}],"uniqueKey":"open","typeLabel":"string | null"},"close":{"oneOf":[{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"close.oneOf.0","typeLabel":"string"},{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"close.oneOf.1","typeLabel":"null"}],"uniqueKey":"close","typeLabel":"string | null"},"breaks":{"description":"Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Every break requires start, end, reason, and greeting. Start must precede end; breaks must be within open/close and cannot overlap. Omit to preserve existing breaks; send [] to clear them. Nonempty breaks are not allowed when isClosed is true.","type":"array","items":{"additionalProperties":false,"type":"object","required":["start","end","reason","greeting"],"properties":{"start":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].start","typeLabel":"string"},"end":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].end","typeLabel":"string"},"reason":{"minLength":1,"maxLength":100,"pattern":"\\S","description":"Required nonblank label for the break, such as Lunch.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].reason","typeLabel":"string"},"greeting":{"minLength":1,"maxLength":500,"pattern":"\\S","description":"Required nonblank phone greeting that replaces the closed greeting during this break.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].greeting","typeLabel":"string"}},"uniqueKey":"breaks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"breaks","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"isClosed":true,"open":"\u003cstring>","close":"\u003cstring>","breaks":[{"start":"\u003cstring>","end":"\u003cstring>","reason":"\u003cstring>","greeting":"\u003cstring>"}]}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"additionalProperties":false,"type":"object","required":["dayOfWeek","isClosed"],"properties":{"dayOfWeek":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"dayOfWeek","typeLabel":"enum\u003cstring>"},"isClosed":{"description":"Whether the office is closed on this day. When true, open and close times are not required.","type":"boolean","isRequired":true,"uniqueKey":"isClosed","typeLabel":"boolean"},"open":{"oneOf":[{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"open.oneOf.0","typeLabel":"string"},{"description":"Opening time in HH:mm format (e.g., '09:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"open.oneOf.1","typeLabel":"null"}],"uniqueKey":"open","typeLabel":"string | null"},"close":{"oneOf":[{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","uniqueKey":"close.oneOf.0","typeLabel":"string"},{"description":"Closing time in HH:mm format (e.g., '17:00'). Required when isClosed is false.","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"null","uniqueKey":"close.oneOf.1","typeLabel":"null"}],"uniqueKey":"close","typeLabel":"string | null"},"breaks":{"description":"Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Every break requires start, end, reason, and greeting. Start must precede end; breaks must be within open/close and cannot overlap. Omit to preserve existing breaks; send [] to clear them. Nonempty breaks are not allowed when isClosed is true.","type":"array","items":{"additionalProperties":false,"type":"object","required":["start","end","reason","greeting"],"properties":{"start":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].start","typeLabel":"string"},"end":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].end","typeLabel":"string"},"reason":{"minLength":1,"maxLength":100,"pattern":"\\S","description":"Required nonblank label for the break, such as Lunch.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].reason","typeLabel":"string"},"greeting":{"minLength":1,"maxLength":500,"pattern":"\\S","description":"Required nonblank phone greeting that replaces the closed greeting during this break.","type":"string","isRequired":true,"uniqueKey":"breaks.items.[INDEX].greeting","typeLabel":"string"}},"uniqueKey":"breaks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"breaks","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"isClosed":true,"open":"\u003cstring>","close":"\u003cstring>","breaks":[{"start":"\u003cstring>","end":"\u003cstring>","reason":"\u003cstring>","greeting":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"be3169ff-6354-440e-a035-f5b7c07e926b":{"description":"Response returned when retrieving or updating office hours for a single day","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data"],"properties":{"success":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"description":"Office hours for a specific day of the week","type":"object","required":["dayOfWeek","isClosed","open","close","breaks"],"properties":{"dayOfWeek":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"data.dayOfWeek","typeLabel":"enum\u003cstring>"},"isClosed":{"description":"Whether the office is closed on this day","type":"boolean","isRequired":true,"uniqueKey":"data.isClosed","typeLabel":"boolean"},"open":{"oneOf":[{"description":"Opening time in HH:mm format (e.g., '09:00')","type":"string","isRequired":true,"uniqueKey":"data.open.oneOf.0","typeLabel":"string"},{"description":"Opening time in HH:mm format (e.g., '09:00')","type":"null","isRequired":true,"uniqueKey":"data.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.open","typeLabel":"string | null"},"close":{"oneOf":[{"description":"Closing time in HH:mm format (e.g., '17:00')","type":"string","isRequired":true,"uniqueKey":"data.close.oneOf.0","typeLabel":"string"},{"description":"Closing time in HH:mm format (e.g., '17:00')","type":"null","isRequired":true,"uniqueKey":"data.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.close","typeLabel":"string | null"},"breaks":{"description":"Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks.","type":"array","items":{"additionalProperties":false,"type":"object","required":["start","end","reason"],"properties":{"start":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"data.breaks.items.[INDEX].start","typeLabel":"string"},"end":{"description":"Time in HH:mm format, in the organization's timezone (e.g., '12:00').","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$","type":"string","isRequired":true,"uniqueKey":"data.breaks.items.[INDEX].end","typeLabel":"string"},"reason":{"description":"Label describing the break, such as Lunch or Team meeting.","type":"string","isRequired":true,"uniqueKey":"data.breaks.items.[INDEX].reason","typeLabel":"string"},"greeting":{"description":"Custom phone greeting. Older breaks configured outside this API may omit this field.","type":"string","uniqueKey":"data.breaks.items.[INDEX].greeting","typeLabel":"string"}},"uniqueKey":"data.breaks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.breaks","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"dayOfWeek":"MONDAY","isClosed":true,"open":"\u003cstring>","close":"\u003cstring>","breaks":[{"start":"\u003cstring>","end":"\u003cstring>","reason":"\u003cstring>","greeting":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"8e50283b-2359-43b3-a7b3-c4a8068709fe":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ebb65c90-89ca-4ebf-90ee-618f36cc7a05":{"description":"You do not have permission to perform this action","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"60a08351-751b-4661-ba49-de46096fddbc":{"description":"The requested resource was not found","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["success","data","message"],"properties":{"success":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"type":"object","properties":{},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"data":{},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"45b45b02-df33-4f66-96af-6b12c8e7e308":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c29e0711-86ee-4532-909c-15eccdcff4e6":{"url":"https://api.helloannie.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key (annie-sk-v2-...) or an OAuth access token, sent as `Authorization: Bearer \u003ctoken>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/openapi.yaml"},"subdomain":"annie","siteName":"Annie Docs","title":"Set office hours - Annie Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:46:52.633Z","originalFileLocation":"api-reference/office-hours/set-office-hours.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day\u0026#x27;s office hours, in the organization\u0026#x27;s timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break\u0026#x27;s custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Annie Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set office hours - Annie Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day\u0026#x27;s office hours, in the organization\u0026#x27;s timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break\u0026#x27;s custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Annie Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://annie.mintlify.site/_mintlify/api/og/v2?division=Office+Hours\u0026amp;title=Set+office+hours\u0026amp;description=Create+or+update+office+hours+for+a+specific+day+of+the+week.+Set+isClosed+to+true+to+mark+the+office+as+closed+on+that+day.+When+isClosed+is+false%2C+open+and+cl\u0026amp;theme=a96b5442c4c1c4ebd6e3f959\u0026amp;signature=5fbb9270c0d02bb431d64a6d3aa946c2bca0f3ca80d4ef2f136d2452ebddff7d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set office hours - Annie Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day\u0026#x27;s office hours, in the organization\u0026#x27;s timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break\u0026#x27;s custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://annie.mintlify.site/_mintlify/api/og/v2?division=Office+Hours\u0026amp;title=Set+office+hours\u0026amp;description=Create+or+update+office+hours+for+a+specific+day+of+the+week.+Set+isClosed+to+true+to+mark+the+office+as+closed+on+that+day.+When+isClosed+is+false%2C+open+and+cl\u0026amp;theme=a96b5442c4c1c4ebd6e3f959\u0026amp;signature=5fbb9270c0d02bb431d64a6d3aa946c2bca0f3ca80d4ef2f136d2452ebddff7d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/annie/1kKbW9uujrH1ztQE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Annie Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7c3aed\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/office-hours/set-office-hours.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.helloannie.com/#organization\",\"name\":\"Annie Docs\",\"url\":\"https://docs.helloannie.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/annie/PXuvnQ8eUh7UEW46/logos/icon.svg?fit=max\u0026auto=format\u0026n=PXuvnQ8eUh7UEW46\u0026q=85\u0026s=f0c94e6cc1e59f80d474345f27618341\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.helloannie.com#website\",\"name\":\"Annie Docs\",\"url\":\"https://docs.helloannie.com\",\"publisher\":{\"@id\":\"https://docs.helloannie.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours#webpage\",\"url\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours\",\"name\":\"Set office hours\",\"description\":\"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\",\"dateModified\":\"2026-11-05T22:46:52.633Z\",\"isPartOf\":{\"@id\":\"https://docs.helloannie.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Office Hours\",\"item\":\"https://docs.helloannie.com/api-reference/office-hours/list-office-hours\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set office hours\",\"item\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours#apireference\",\"headline\":\"Set office hours\",\"name\":\"Set office hours\",\"description\":\"Create or update office hours for a specific day of the week. Set isClosed to true to mark the office as closed on that day. When isClosed is false, open and close times are required. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks. Each break requires start, end, reason, and greeting. Breaks must have start before end, be bounded by open/close, and must not overlap; adjacent breaks are allowed. Omitting breaks preserves existing breaks; [] clears them. Retained breaks must fit any updated office hours.\",\"url\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours\",\"mainEntityOfPage\":{\"@id\":\"https://docs.helloannie.com/api-reference/office-hours/set-office-hours#webpage\"},\"dateModified\":\"2026-11-05T22:46:52.633Z\",\"publisher\":{\"@id\":\"https://docs.helloannie.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.helloannie.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Annie Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Annie Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/office-hours/set-office-hours.md","siteName":"Annie Docs","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","icon":"code","href":"/api-reference/introduction"}]},{"group":"Blueprints","pages":[{"title":"List blueprints","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints","href":"/api-reference/blueprints/list-blueprints"},{"title":"Create blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /blueprints","href":"/api-reference/blueprints/create-blueprint"},{"title":"Get blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints/{blueprintId}","href":"/api-reference/blueprints/get-blueprint"},{"title":"Delete blueprint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /blueprints/{blueprintId}","href":"/api-reference/blueprints/delete-blueprint"},{"title":"Apply blueprint to bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /blueprints/{blueprintId}/apply","href":"/api-reference/blueprints/apply-blueprint-to-bot"},{"title":"Get blueprint apply job status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blueprints/jobs/{jobId}","href":"/api-reference/blueprints/get-blueprint-apply-job-status"}]},{"group":"Bot Webhooks","pages":[{"title":"Get bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/get-bot-webhook"},{"title":"Upsert bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/upsert-bot-webhook"},{"title":"Delete bot webhook","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/webhooks","href":"/api-reference/bot-webhooks/delete-bot-webhook"}]},{"group":"Bots","pages":[{"title":"List bots","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots","href":"/api-reference/bots/list-bots"},{"title":"Create bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots","href":"/api-reference/bots/create-bot"},{"title":"Get bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}","href":"/api-reference/bots/get-bot"},{"title":"Update bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /bots/{botId}","href":"/api-reference/bots/update-bot"},{"title":"Delete bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}","href":"/api-reference/bots/delete-bot"}]},{"group":"Business Verification","pages":[{"title":"Get business verification status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/business-verification","href":"/api-reference/business-verification/get-business-verification-status"},{"title":"Submit business verification","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/business-verification","href":"/api-reference/business-verification/submit-business-verification"}]},{"group":"Calls","pages":[{"title":"Queue an outbound call","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /call-requests","href":"/api-reference/calls/queue-an-outbound-call"},{"title":"Get queued call status","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /call-requests/{callRequestId}","href":"/api-reference/calls/get-queued-call-status"},{"title":"Start outbound call","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /calls","href":"/api-reference/calls/start-outbound-call"}]},{"group":"Closures","pages":[{"title":"List closures","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/closures","href":"/api-reference/closures/list-closures"},{"title":"Create closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/closures","href":"/api-reference/closures/create-closure"},{"title":"Get closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/get-closure"},{"title":"Update closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/update-closure"},{"title":"Delete closure","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/closures/{closureId}","href":"/api-reference/closures/delete-closure"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations","href":"/api-reference/conversations/create-conversation"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations/{conversationId}","href":"/api-reference/conversations/get-conversation"},{"title":"Close conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations/{conversationId}/close","href":"/api-reference/conversations/close-conversation"},{"title":"List conversation messages","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /conversations/{conversationId}/messages","href":"/api-reference/conversations/list-conversation-messages"}]},{"group":"FAQs","pages":[{"title":"List FAQs","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/faqs","href":"/api-reference/faqs/list-faqs"},{"title":"Create FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/faqs","href":"/api-reference/faqs/create-faq"},{"title":"Get FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/get-faq"},{"title":"Update FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/update-faq"},{"title":"Delete FAQ","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/faqs/{faqId}","href":"/api-reference/faqs/delete-faq"}]},{"group":"Insurances","pages":[{"title":"List Insurance Providers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /insurance-providers","href":"/api-reference/insurances/list-insurance-providers"},{"title":"List Insurances","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/insurances","href":"/api-reference/insurances/list-insurances"},{"title":"Create Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/insurances","href":"/api-reference/insurances/create-insurance"},{"title":"Get Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/get-insurance"},{"title":"Update Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/update-insurance"},{"title":"Delete Insurance","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/insurances/{insuranceId}","href":"/api-reference/insurances/delete-insurance"}]},{"group":"Office Hours","pages":[{"title":"List office hours","description":"Returns office hours for all days of the week. Days without configured hours are marked as closed. Optionally filter by a specific day using the dayOfWeek query parameter. Recurring breaks within this day's office hours, in the organization's timezone. During a break, inbound phone calls treat the office as closed for template feature availability (CLOSED features apply; OPEN features do not). The break's custom greeting overrides the closed greeting. Date-specific office closures take precedence over breaks.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/list-office-hours"},{"title":"Set office hours","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/office-hours","href":"/api-reference/office-hours/set-office-hours"}]},{"group":"Organizations","pages":[{"title":"List organizations","description":"Returns organizations for the authenticated principal. Account organizations can include child organizations with `includeChildren`.","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations","href":"/api-reference/organizations/create-organization"},{"title":"Get organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}","href":"/api-reference/organizations/get-organization"},{"title":"Update organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}","href":"/api-reference/organizations/update-organization"},{"title":"Delete organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}","href":"/api-reference/organizations/delete-organization"},{"title":"Disable organization communications","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/disable","href":"/api-reference/organizations/disable-organization-communications"},{"title":"Enable organization communications","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/enable","href":"/api-reference/organizations/enable-organization-communications"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Create phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers","href":"/api-reference/phone-numbers/create-phone-number"},{"title":"Get phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/get-phone-number"},{"title":"Update phone number configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/update-phone-number-configuration"},{"title":"Delete phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /phone-numbers/{phoneNumberId}","href":"/api-reference/phone-numbers/delete-phone-number"},{"title":"Attach phone number to bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/attach","href":"/api-reference/phone-numbers/attach-phone-number-to-bot"},{"title":"Detach phone number from bot","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/detach","href":"/api-reference/phone-numbers/detach-phone-number-from-bot"},{"title":"Migrate phone number to organization","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/{phoneNumberId}/migrate","href":"/api-reference/phone-numbers/migrate-phone-number-to-organization"}]},{"group":"Recordings","pages":[{"title":"Get conversation recording","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /recordings/{conversationId}","href":"/api-reference/recordings/get-conversation-recording"}]},{"group":"Responses","pages":[{"title":"Create response","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /conversations/{conversationId}/responses","href":"/api-reference/responses/create-response"}]},{"group":"Scheduling","pages":[{"title":"List scheduling appointment types","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/scheduling/appointment-types","href":"/api-reference/scheduling/list-scheduling-appointment-types"},{"title":"Schedule an appointment","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/scheduling/appointments","href":"/api-reference/scheduling/schedule-an-appointment"},{"title":"List scheduling availabilities","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/scheduling/availabilities","href":"/api-reference/scheduling/list-scheduling-availabilities"}]},{"group":"SMS","pages":[{"title":"Start outbound SMS conversation","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sms","href":"/api-reference/sms/start-outbound-sms-conversation"}]},{"group":"Tag Groups","pages":[{"title":"List a bot's tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/tag-groups","href":"/api-reference/tag-groups/list-a-bots-tag-groups"},{"title":"Set a bot's tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/tag-groups","href":"/api-reference/tag-groups/set-a-bots-tag-groups"},{"title":"List tag groups","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups","href":"/api-reference/tag-groups/list-tag-groups"},{"title":"Create tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tag-groups","href":"/api-reference/tag-groups/create-tag-group"},{"title":"Get tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/get-tag-group"},{"title":"Update tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/update-tag-group"},{"title":"Delete tag group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/tag-groups/{tagGroupId}","href":"/api-reference/tag-groups/delete-tag-group"},{"title":"List tags in a group","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tag-groups/{tagGroupId}/tags","href":"/api-reference/tag-groups/list-tags-in-a-group"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tags","href":"/api-reference/tags/create-tag"},{"title":"Get tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/get-tag"},{"title":"Update tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/update-tag"},{"title":"Delete tag","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/tags/{tagId}","href":"/api-reference/tags/delete-tag"}]},{"group":"Templates","pages":[{"title":"Batch apply bot templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/batch-apply-templates","href":"/api-reference/templates/batch-apply-bot-templates"},{"title":"Batch remove bot templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/batch-remove-templates","href":"/api-reference/templates/batch-remove-bot-templates"},{"title":"List bot templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/templates","href":"/api-reference/templates/list-bot-templates"},{"title":"Apply bot template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/apply-bot-template"},{"title":"Remove bot template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/templates/{templateId}","href":"/api-reference/templates/remove-bot-template"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /templates","href":"/api-reference/templates/list-templates"},{"title":"Create template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /templates","href":"/api-reference/templates/create-template"},{"title":"Get template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /templates/{templateId}","href":"/api-reference/templates/get-template"},{"title":"Update template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /templates/{templateId}","href":"/api-reference/templates/update-template"},{"title":"Delete template","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /templates/{templateId}","href":"/api-reference/templates/delete-template"},{"title":"Apply template to bot","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml post /templates/{templateId}/apply","href":"/api-reference/templates/apply-template-to-bot"},{"title":"Get batch job status","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml get /templates/batch/jobs/{jobId}","href":"/api-reference/templates/get-batch-job-status"},{"title":"Batch apply templates to bot","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml post /templates/batch/apply","href":"/api-reference/templates/batch-apply-templates-to-bot"},{"title":"Get batch job status","deprecated":true,"version":null,"openapi":"/openapi/openapi.yaml get /templates/batch/jobs/{jobId}","href":"/api-reference/templates/get-batch-job-status"}]},{"group":"Test Phone Numbers","pages":[{"title":"List test phone numbers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/test-phone-numbers","href":"/api-reference/test-phone-numbers/list-test-phone-numbers"},{"title":"Add test phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/test-phone-numbers","href":"/api-reference/test-phone-numbers/add-test-phone-number"},{"title":"Remove test phone number","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/test-phone-numbers/{id}","href":"/api-reference/test-phone-numbers/remove-test-phone-number"}]},{"group":"Variables","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/variables","href":"/api-reference/variables/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /organizations/{orgId}/variables","href":"/api-reference/variables/create-variable"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /organizations/{orgId}/variables/{variableId}","href":"/api-reference/variables/delete-variable"}]},{"group":"Verified Caller IDs","pages":[{"title":"List verified caller IDs","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/verified-caller-ids","href":"/api-reference/verified-caller-ids/list-verified-caller-ids"},{"title":"Start caller ID verification","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /phone-numbers/verified-caller-ids","href":"/api-reference/verified-caller-ids/start-caller-id-verification"},{"title":"Get verified caller ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /phone-numbers/verified-caller-ids/{id}","href":"/api-reference/verified-caller-ids/get-verified-caller-id"},{"title":"Delete verified caller ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /phone-numbers/verified-caller-ids/{id}","href":"/api-reference/verified-caller-ids/delete-verified-caller-id"}]},{"group":"Workflows","pages":[{"title":"Export all workflows","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/workflows","href":"/api-reference/workflows/export-all-workflows"},{"title":"Create or update a workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bots/{botId}/workflows","href":"/api-reference/workflows/create-or-update-a-workflow"},{"title":"Export a single workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bots/{botId}/workflows/{workflowId}","href":"/api-reference/workflows/export-a-single-workflow"},{"title":"Delete a workflow","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /bots/{botId}/workflows/{workflowId}","href":"/api-reference/workflows/delete-a-workflow"}]}]}]},"basePath":"","title":"Set office hours - Annie Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}