openapi: 3.2.0 info: title: flow-rest-api Businesshours API version: '1.0' servers: - url: https://api.flow.ai/rest/v1/ security: - {} tags: - name: Business Hours paths: /businesshours: get: summary: Business Hours description: Retrieve a list of configured business hours for your project using the Flow REST API. operationId: business-hours parameters: - name: sync in: query description: Optional parameter for enabling sync mode schema: type: string responses: '200': description: '200' content: application/json: examples: Result: value: "{\n \"status\": \"ok\",\n \"businessHours\": [\n {\n \"weekdays\": [\n {\n \"weekday\": \"Monday\",\n \"content\": [\n {\n \"from\": \"0:20\",\n \"to\": \"4:19\"\n },\n {\n \"from\": \"10:00\",\n \"to\": \"22:22\"\n },\n ...\n ]\n },\n ...\n ],\n \"holidays\": [\n {\n \"holiday\": \"New Year\",\n \"date\": \"2019-12-31T00:00:00.000Z\"\n },\n ...\n ],\n \"label\": \"test BH\",\n \"timezone\": \"(UTC+03:00) Minsk\"\n },\n ...\n ]\n}" deprecated: false security: [] x-readme: code-samples: - language: http code: 'GET rest/v1/businesshours?sync=true HTTP/1.1 Host: api.flow.ai Content-Type: application/json Authorization: MY_MESSAGING_API_KEY' samples-languages: - http tags: - Business Hours x-readme: headers: [] explorer-enabled: false proxy-enabled: true x-readme-fauxas: true