Pulseway API

 avatar
unknown
python
2 years ago
1.1 kB
6
Indexable
To use the Pulseway API, you first need to authenticate your API requests using an API Key.
 
Then, you can use the API to retrieve information about your Pulseway account, monitor systems, and manage alerts.

Some of the available endpoints include:
- `/v1/metrics` to retrieve system performance metrics
- `/v1/computers` to retrieve details about a computer and its monitored resources
- `/v1/alerts` to retrieve and manage alerts
- `/v1/notifications` to manage notification settings

You can use your preferred programming language to send requests to the Pulseway API, using libraries or HTTP clients to handle the requests and responses. The API supports HTTP methods such as GET, POST, PATCH, DELETE, and more.

Here is an example in Python for receiving computer details:

```python
import requests
import json

api_url = 'https://api.pulseway.com/v1/computers'
api_key = 'YOUR_API_KEY'

headers = {
  'Authorization': 'Bearer ' + api_key,
  'Content-Type': 'application/json'
}

response = requests.get(api_url, headers=headers)
print(response.json())
``` 

Remember to replace `YOUR_API_KEY` with your actual API Key.