Get user pulses
GEThttps://whatpulse.test/api/v1/users/:id/pulses
Get a list of pulses for a specific user. Pulses represent individual data points collected by WhatPulse, such as key presses, mouse clicks, and network activity. You can filter by computer ID, date range, and control pagination. The response includes pulse information with associated computer details if you have the appropriate permissions.
Request
Path Parameters
id stringrequired
User ID or username
Query Parameters
computer_id integer
date_from date
date_to date
per_page integer
Possible values: >= 1
and <= 100
Responses
- 200
- 401
- 422
- application/json
- Schema
- Example (auto)
Schema
pulses object[]required
pagination objectrequired
links objectrequired
filters objectrequired
{
"pulses": [
{
"id": 0,
"date": "string",
"keys": 0,
"clicks": 0,
"download_mb": 0,
"upload_mb": 0,
"uptime_seconds": 0,
"distance_miles": 0,
"auto_pulse": true,
"client_version": "string"
}
],
"pagination": {
"current_page": 0,
"per_page": 0,
"total": 0,
"last_page": 0,
"from": 0,
"to": 0
},
"links": {
"first": "string",
"last": "string"
},
"filters": {}
}
Unauthenticated
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
Error overview.
{
"message": "string"
}
Validation error
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
Errors overview.
errors objectrequired
{
"message": "string",
"errors": {}
}
Authorization: http
name: httptype: httpscheme: bearer
- go
- java
- javascript
- kotlin
- nodejs
- objective-c
- php
- powershell
- python
- r
- ruby
- rust
- swift
- NATIVE
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://whatpulse.test/api/v1/users/:id/pulses"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <token>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
ResponseClear