> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.goextrovert.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Working Hours

> Replaces the account's Working Hours with the given week — a weekday sent without a window becomes a day off — and returns the values saved.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json put /client/v2/account-settings/{ownerId}/working-hours
openapi: 3.1.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/account-settings/{ownerId}/working-hours:
    put:
      tags:
        - Account Settings
      summary: Update Working Hours
      description: >-
        Replaces the account's Working Hours with the given week — a weekday
        sent without a window becomes a day off — and returns the values saved.
      operationId: AccountSettingsClientApiController_updateWorkingHours
      parameters:
        - name: ownerId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWorkingHoursRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateWorkingHoursResponseDto'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    UpdateWorkingHoursRequestDto:
      type: object
      properties:
        ownerId:
          type: string
          format: uuid
          description: >-
            Extrovert user ID, not the LinkedIn-profile or membership-record ID.
            You may manage your own account; another account requires
            account-management permission and a creator seat in this workspace.
            Campaign sharing alone is not enough.
        workTimeFromMinMonday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Monday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinMonday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Monday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinTuesday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Tuesday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinTuesday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Tuesday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinWednesday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Wednesday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinWednesday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Wednesday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinThursday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Thursday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinThursday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Thursday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinFriday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Friday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinFriday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Friday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinSaturday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Saturday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinSaturday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Saturday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        workTimeFromMinSunday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Sunday: start of the working window, minutes from midnight in
            `timezone` (0–1439). Sent together with the matching end; both
            absent means no work that day.
        workTimeToMinSunday:
          type: integer
          minimum: 0
          maximum: 1439
          description: >-
            Sunday: end of the working window, minutes from midnight in
            `timezone` (0–1439), not before the start.
        timezone:
          type: string
          minLength: 1
          description: >-
            IANA timezone the working windows are read in. An unknown timezone
            is refused with 400.
          examples:
            - Europe/Berlin
            - America/New_York
      required:
        - ownerId
        - timezone
      dependentRequired:
        workTimeFromMinMonday:
          - workTimeToMinMonday
        workTimeToMinMonday:
          - workTimeFromMinMonday
        workTimeFromMinTuesday:
          - workTimeToMinTuesday
        workTimeToMinTuesday:
          - workTimeFromMinTuesday
        workTimeFromMinWednesday:
          - workTimeToMinWednesday
        workTimeToMinWednesday:
          - workTimeFromMinWednesday
        workTimeFromMinThursday:
          - workTimeToMinThursday
        workTimeToMinThursday:
          - workTimeFromMinThursday
        workTimeFromMinFriday:
          - workTimeToMinFriday
        workTimeToMinFriday:
          - workTimeFromMinFriday
        workTimeFromMinSaturday:
          - workTimeToMinSaturday
        workTimeToMinSaturday:
          - workTimeFromMinSaturday
        workTimeFromMinSunday:
          - workTimeToMinSunday
        workTimeToMinSunday:
          - workTimeFromMinSunday
    UpdateWorkingHoursResponseDto:
      type: object
      properties:
        status:
          type: string
          const: success
          description: Response status
        data:
          type: object
          properties:
            workTimeFromMinMonday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Monday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinMonday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Monday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinTuesday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Tuesday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinTuesday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Tuesday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinWednesday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Wednesday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinWednesday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Wednesday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinThursday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Thursday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinThursday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Thursday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinFriday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Friday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinFriday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Friday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinSaturday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Saturday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinSaturday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Saturday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            workTimeFromMinSunday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Sunday: start of the working window, minutes from midnight in
                `timezone` (0–1439). Sent together with the matching end; both
                absent means no work that day.
            workTimeToMinSunday:
              type: integer
              minimum: 0
              maximum: 1439
              description: >-
                Sunday: end of the working window, minutes from midnight in
                `timezone` (0–1439), not before the start.
            timezone:
              type: string
              minLength: 1
              description: >-
                IANA timezone the working windows are read in. An unknown
                timezone is refused with 400.
              examples:
                - Europe/Berlin
                - America/New_York
          required:
            - timezone
        message:
          type: string
          description: Success message
          examples:
            - Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
          nullable: true
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.