--- title: "Statistics Reporting API Error 401 Unauthorized" slug: "statistics-reporting-api-error-401-unauthorized" updated: 2026-05-17T16:42:42Z published: 2026-05-21T21:25:23Z canonical: "help.8x8.com/statistics-reporting-api-error-401-unauthorized" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.8x8.com/llms.txt > Use this file to discover all available pages before exploring further. # Statistics Reporting API Error 401 Unauthorized ## Symptom 8x8 Contact Centre Statistics Reporting API responds with Error 401 Unauthorized. ## Applies To - 8x8 Contact Centre - Statistics Reporting API - Real Time Statistics Reporting API ## Resolution This should be tested using [Postman](https://www.postman.com/) or CURL. 1. Check that the request URL is correct for your tenants cluster. - Check the URL when logged in to Configuration Manager for Contact Center or Agent Workspace. - If there is a letter after the cluster in the URL it should be omitted. - For example, if your URL is https://vcc-eu9b.8x8.com, use https://vcc-eu9.8x8.com for the API Request. 2. Check that basic auth details are correct. These can be found under **Configuration Manager for Contact Center** > **Integration** > **API Token**. ![Configuration_Manager_API_Token.png](https://cdn.us.document360.io/e3a59e39-abd3-4423-964c-0a4008dc5673/Images/Documentation/25458?sv=2026-02-06&spr=https&st=2026-11-03T22%3A18%3A42Z&se=2026-11-03T23%3A18%3A42Z&sr=c&sp=r&sig=n4kyBqnu7unfRUDIYNE6WThkTI799p%2BKoWy9jjFjpj4%3D) ## Additional Information > [!CAUTION] > ⚠️ Warning: Token Replacement is Immediate and Irreversible > > **Clicking "New Token" will immediately invalidate your current API token. This action cannot be undone.** > > All services, scripts, and integrations using the old token will **stop working** until they are updated with the new token. > > Replacing a token without preparation may lead to **unexpected failures and service disruptions**. > > **Before proceeding, make sure to:** > > - Identify all systems and integrations currently using the existing token. > - Notify impacted teams or stakeholders. > - Schedule the change during a low-risk window, if applicable. > - Be ready to update all affected configurations **immediately** after generating the new token. [8x8 Contact Center Statistics Reporting API](/support/docs/8x8-contact-center-statistics-reporting-api)