API Endpoints
Profiles
Get profiles list

Base URL

GET
https://v1.empr.cloud/api/v1/folders/{folderId}/profiles

Request

Request Headers

Headers
Название
Тип / Значение
Описание
X-Token
String
Authorization token

URL Parameters

Query parameters
Название
Тип / Значение
Описание
folderId
UUID
ID of the folder to get the list of profiles from
name
String
Search by profile name
pn
Number
Page number
ps
Number
Page size

Request Examples

1const url =
2  "https://v1.empr.cloud/api/v1/folders/{folderId}/profiles"; 
3
4const options = {
5  method: "GET",
6  headers: {
7    "X-Token": "Your Token", 
8  }, 
9};
10
11fetch(url, options)
12  .then((response) => {
13    response.json().then((data) => {
14      console.log(data);
15    });
16  })
17  .catch((error) => {
18    console.error(error);
19  });

Response

Response Data

Response
Название
Тип / Значение
Описание
total
String
Total number of profiles in the folder
items
Array
Array of objects with profile data
owner
UUID/String
ID of the profile owner
id
UUID/String
Profile ID
folder_id
UUID/String
ID of the folder where the profile is located
proxy_id
UUID/String
ID of the proxy assigned to the profile
profile_name
String
Profile name
profile_notes
String
Profile notes
profile_status
Array
Status assigned to the profile
profile_tags
Array
Tags assigned to the profile
browser
String
Browser engine
platform
String
Profile operating system
running
String
Indication of a running profile
pinned
String
Indication of a pinned profile
worktime
String
Total work time of the profile
last_run_at
String
Date of the last profile run
created_at
String
Profile creation date
updated_at
String
Profile update date
recovered
String
Indication of a profile recovered from the trash
is_received
String
Indication of a received profile
app_version
String
Internal information
proxy
String
Data about the proxy assigned to the profile

Response Example

1{
2    "data": {
3        "total": 1,
4        "items": [
5            {
6            "owner": "5a55b193-84aa-47ce-b377-c651412adf44",
7            "id": "9bd9b8cf-edaf-42b3-a9cc-fc68ff0b7f77",
8            "folder_id": "6e15ecb4-d46d-416c-ac5c-4777bd89a2d8",
9            "proxy_id": null,
10            "profile_name": "Matthew Nelson",
11            "profile_notes": "",
12            "profile_status": null,
13            "profile_tags": [],
14            "browser": "chrome",
15            "platform": "macos",
16            "running": false,
17            "pinned": false,
18            "worktime": 0,
19            "last_run_at": null,
20            "created_at": "2023-12-21T12:42:46.483047Z",
21            "updated_at": "2023-12-21T12:42:46.483047Z",
22            "recovered": 0,
23            "is_received": false,
24            "app_version": "0.0.0",
25            "proxy": null
26            }
27        ]
28    }
29}
30