--- title: "Authenticating" slug: "api-authenticating" updated: 2020-06-02T21:32:51Z published: 2020-06-02T21:32:51Z canonical: "help.cenpoint.com/api-authenticating" excludeFromSearch: true excludeFromExternalSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.cenpoint.com/llms.txt > Use this file to discover all available pages before exploring further. # Authenticating If you do not have the Company Code, API Key, or your app hasn't been authorized, please see [Getting Started](https://help.cenpoint.com/v1/docs/api-getting-started) before proceeding. All calls to the CenPoint API are RESTful and are served over https. CenPoint hosts multiple servers. You will be hitting our general URL which does Round Robin routing. General URL: - [https://ws.cenpoint.com/cpwc.wc](https://ws.cenpoint.com/cpwc.wc) To authenticate, pass the company code, api key / token, and authorized app name NOTE: The below sample will not actually work as it is not hitting an actual end point yet! However, this is the basic structure for all calls / authenticating i.e. https://ws.cenpoint.com/cpwc.wc?custcode=<>&token=<>&appName=<> If you fail to authenticate, you will get an error message - {"errorCode":"-2","errorDesc":"Invalid credentials"} If you successfully authenticate, it will proceed to process the endpoint you're attempting to hit Up next, [API Endpoint List](https://help.cenpoint.com/v1/docs/api-endpoint-list)