get-department-by-id

Changed on
get/TEMP/v1/api/department/:departmentId

Request

  • Base URL
    https://api.nuvidio.com
  • URL
    https://api.nuvidio.com/TEMP/v1/api/department/:departmentId
  • Auth
    none required

Response

200

identifierstring
idstring
namestring
disabledboolean
callsCountinteger
attendantsCountinteger
createdAtstring
updatedAtstring
recordAllowedboolean
privateboolean

Example response

{
  "identifier": "nuvidio-tech.teste",
  "id": "675b152dedf358642cde9c31",
  "name": "teste",
  "businessTime": {
    "sunday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bb6"
      }
    ],
    "monday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bb7"
      }
    ],
    "tuesday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bb8"
      }
    ],
    "wednesday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bb9"
      }
    ],
    "thursday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bba"
      }
    ],
    "friday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bbb"
      }
    ],
    "saturday": [
      {
        "closing": 1439,
        "_id": "688a6bbb3b3bc436f45a1bbc"
      }
    ],
    "timezone": -3
  },
  "style": {
    "widgetSizeRatio": "normal",
    "medias": {
      "intro": "https://s3.sa-east-1.amazonaws.com/files.nuvidio.com/images/d07f8df2-c632-4d58-9a46-04342184d877.png"
    },
    "videoRoom": {
      "background": "#212121"
    }
  },
  "callsCount": 118,
  "attendantsCount": 1,
  "createdAt": "2024-12-12T16:54:05.639Z",
  "updatedAt": "2026-02-09T23:22:03.899Z",
  "companyStyle": {
    "logo": "https://s3.sa-east-1.amazonaws.com/files.nuvidio.com/images/41eb4921-a6c3-4ddb-a9e0-95f309775e61.jpg",
    "font": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"SegoeUI\", \"Roboto\", \"Oxygen\",\"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\"",
    "fontSize": 16,
    "borderRadius": 20,
    "textColor": "#707070",
    "widgetSizeRatio": "normal",
    "colors": {
      "primary": "#00c3d1",
      "secondary": "#003557",
      "_id": "68dec37faa68e20ced5b0625"
    }
  },
  "companySettings": {
    "fabButton": {
      "enabled": true,
      "backgroundColor": "#201747",
      "imageBorderColor": "#ffffff",
      "fontSize": 16,
      "textColor": "#ffffff",
      "buttonSize": 1,
      "borderRadius": 20,
      "shadow": 3,
      "horizontalDistance": 15,
      "verticalDistance": 15,
      "position": "right-bottom",
      "_id": "691d3bef3349e16f9bc56822"
    },
    "businessTime": {
      "sunday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc5680b"
        }
      ],
      "monday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc5680c"
        }
      ],
      "tuesday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc5680d"
        }
      ],
      "wednesday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc5680e"
        }
      ],
      "thursday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc5680f"
        }
      ],
      "friday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc56810"
        }
      ],
      "saturday": [
        {
          "closing": 1439,
          "_id": "691d3bef3349e16f9bc56811"
        }
      ],
      "_id": "691d3bef3349e16f9bc5680a"
    }
  },
  "form": [
    {
      "label": "COMPONENTS.CUSTOMER_FORM_ROW.CUSTOM_INPUT.NAME.LABEL",
      "name": "name",
      "placeholder": "COMPONENTS.CUSTOMER_FORM_ROW.CUSTOM_INPUT.NAME.PLACEHOLDER",
      "required": true,
      "type": "text",
      "isEnabled": true
    }
  ],
  "settings": {
    "language": "pt-BR",
    "attendanceMode": "online",
    "privacyPolicy": {
      "required": true,
      "url": "https://ads",
      "text": "asd",
      "linkText": "ad"
    },
    "attendantBackground": {
      "blurEnabled": true
    },
    "tokenExpirationTime": 5,
    "fabButton": {
      "buttonImage": "https://s3.sa-east-1.amazonaws.com/files.nuvidio.com/images/1eec9860-4258-11ec-8592-79a2ab044968.jpg",
      "backgroundColor": "#201747",
      "imageBorderColor": "#ffffff",
      "font": "Arial, \"Helvetica Neue\", Helvetica, sans-serif",
      "fontSize": 16,
      "textColor": "#ffffff",
      "buttonSize": 1,
      "borderRadius": 20,
      "shadow": 3,
      "horizontalDistance": 15,
      "verticalDistance": 15,
      "position": "right-bottom"
    },
    "hideQueuePosition": true,
    "queueConfigs": {
      "title": "asdasd",
      "permanentText": "asdasd",
      "averageWaitingTime": {
        "enabled": true,
        "method": "average-time",
        "_id": "688ab8c7b7823713f9e845ff"
      }
    },
    "scheduleCalls": {
      "averageCallDuration": 30
    },
    "offlineDates": {
      "_id": "688a6bbb3b3bc436f45a1bbe"
    },
    "forwardCallToLastActiveAttendant": {
      "enabled": true,
      "sleepTime": 30
    },
    "ratingsConfigs": {
      "ratingEnabled": true,
      "ratingStylesEnabled": true,
      "ratingMode": "nps",
      "showProtocol": true,
      "showCommentField": true
    },
    "attendanceQuestionnaire": [
      {
        "type": "text",
        "question": "fffff",
        "_id": "688ab8c7b7823713f9e84600"
      }
    ],
    "maxWaitingTimeRedirectConfigs": {
      "enabled": true,
      "maxWaitingTime": 10,
      "departmentTarget": "676da481f5727a0b7f08f43e"
    },
    "callTransference": {
      "isEnabled": true,
      "departments": [
        {
          "department": "675b152dedf358642cde9c31"
        }
      ]
    },
    "customer": {
      "_id": "68e6f4d97832ce61deab9a66"
    },
    "attendants": {
      "automaticallyAnswerCall": true,
      "automaticallyAnswerCallDelay": 5,
      "maximumVisibleFieldsInQueue": 5
    },
    "blockWorkOvertime": true,
    "record": "disabled",
    "sendPushNotificationToAttendants": {
      "interval": 30
    }
  },
  "recordAllowed": true,
  "customerAccessCount": {
    "directAccessCount": 237
  }
}

Changes