Get user profiles
GEThttps://whatpulse.test/api/v1/users/:id/profiles
Get a list of client profiles for a specific user. Client profiles represent different software configurations or applications tracked by WhatPulse. You can filter by deletion status and control pagination. The response includes profile information with associated computer details.
Request
Path Parameters
id stringrequired
User ID or username
Query Parameters
is_deleted string
Possible values: [1
, 0
, true
, false
]
per_page integer
Possible values: >= 1
and <= 100
Responses
- 200
- 401
- 422
- application/json
- Schema
- Example (auto)
Schema
profiles object[]required
pagination objectrequired
links objectrequired
filters objectrequired
{
"profiles": [
{
"id": 0,
"name": "string",
"last_used": "string",
"is_deleted": true,
"created_at": "string",
"computer": {
"id": "string",
"name": "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/profiles"
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