title |
---|
API & Webhooks |
API stands for Application Programming Interface. It is a set of rules and protocols that allows different software applications to communicate with each other. APIs define the methods and data formats that applications can use to request and exchange information. They serve as an interface between different software systems, enabling them to work together seamlessly.
A RESTful API (Representational State Transfer) is a type of web API that adheres to the principles of REST, which is an architectural style for designing networked applications. RESTful APIs are widely used in web development due to their simplicity, scalability, and stateless nature.
To connect to the API framework, you will need to authenticate your requests via an API key. How to authenticate, just add your api key like so:
```bash javascript var url = https://api.hierarch.io/v1/endpoint/action//?token= ```$url = https://api.hierarch.io/v1/endpoint/action/<company_slug>/?token=<YOUR_API_KEY>
url = https://api.hierarch.io/v1/endpoint/action/<company_slug>/?token=<YOUR_API_KEY>
Here's how to get and/or refresh your api key.
-
Click on your company name
-
Click "API" from the menu bar
Each company registered under your name will have a unique api key.