Dados da empresa

Changed on

Retorna as informações da empresa.

get/v1/api/company

Request

  • Base URL
    https://api.nuvidio.com
  • URL
    https://api.nuvidio.com/v1/api/company
  • Auth
    none required

Response

200

namestring
emailstring
companyNamestring
telstring
cnpjstring
hooksobject[]

Example response

{
  "name": "NuVidio",
  "email": "empresa@nuvidio.com.br",
  "companyName": "NuVidio",
  "tel": "31999999999",
  "cnpj": "-",
  "style": {
    "logo": "https://site.com/logo.png",
    "borderRadius": 10,
    "font": "Segoe UI",
    "fontSize": 12,
    "textColor": "#ffffff",
    "colors": {
      "primary": "#ffffff",
      "secondary": "#ffffff",
      "background": "#ffffff"
    }
  },
  "configs": {
    "videoRoom": {
      "textChat": true,
      "chatFiles": true,
      "notes": true
    },
    "allowMissedCalls": true,
    "blockAttendantAccessOutOfWorkingTime": true,
    "whitelabel": {
      "icon": "/static/media/logo.9e5f6c6e.png",
      "favicon": "/static/media/favicon.ico"
    },
    "fabButton": {
      "buttonImage": "/static/media/logo.9e5f6c6e.png",
      "backgroundColor": "#201747",
      "imageBorderColor": "#2f1655",
      "font": "Segoe UI",
      "textColor": "#ffffff",
      "buttonSize": 1,
      "borderRadius": 40,
      "shadow": 3,
      "buttonText": "Botão",
      "horizontalDistance": 15,
      "verticalDistance": 15,
      "position": "right-bottom"
    },
    "privacyPolicy": {
      "required": true,
      "url": "https://www.exemplo.com/"
    },
    "storeBySector": true,
    "attendantPasswordResetSchedule": {
      "forceSecretReset": true
    }
  },
  "apiKeys": [
    {
      "apiKey": "----",
      "createdAt": "2030-07-26T03:40:56.237Z",
      "usedAt": "2030-08-10T20:40:34.023Z"
    }
  ],
  "businessTimePatterns": [
    {
      "businessTime": {
        "sunday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "monday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "tuesday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "wednesday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "thursday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "friday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "saturday": [
          {
            "opening": 660,
            "closing": 690
          }
        ],
        "timezone": [
          {
            "opening": 660,
            "closing": 690
          }
        ]
      }
    }
  ]
}

Changes