Clients
Reference for the clients endpoints of the Surfmeter API.
Surfmeter API – Clients v1
The Surfmeter API lets you manage clients, users, capabilities, measurements, and organization-wide settings programmatically.
Servers
| Description | URL |
|---|---|
| https://surfmeter-server.{host}/client_admin_api/v1 | https://surfmeter-server.{host}/client_admin_api/v1 |
Clients
GET /clients
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
Response 200 OK
- application/json
{
"clients": [
{
"id": 0,
"uuid": "string",
"access_level": "owner",
"type": "string",
"label": "string",
"extra_label": "string",
"tags": [
"string"
],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z",
"disabled_at": "2026-01-15T10:30:00Z",
"disabled_reason": "string",
"last_measurement_at": "2026-01-15T10:30:00Z",
"last_client_type": "string",
"last_client_version": "string",
"last_client_time_zone": "string",
"last_seen_at": "2026-01-15T10:30:00Z",
"config_managed": true,
"delivered_public_config": {
"id": 0,
"name": "string",
"is_default": true
},
"delivered_automator_config": {
"id": 0,
"name": "string",
"is_default": true
},
"offline": true,
"anomalies_muted": true,
"offline_notifications_muted": true,
"system_health_notifications_muted": true,
"registration_key": {
"id": 0,
"registration_key": "string",
"comment": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z",
"num_registrations_left": 0,
"usage_limit_days": 0
},
"client_groups": [
{
"id": 0,
"name": "string"
}
],
"current_isp_contract": {
"id": 0,
"isp_id": 0,
"isp_name": "string",
"client_id": 0,
"upload_speed": 0,
"download_speed": 0,
"monthly_price": 10.12,
"currency": "string",
"assumed_tariff": "string",
"connection_type": "string",
"name": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z"
}
}
]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /clients/check_label_availability
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
exclude_id |
query | None | No | Optional client ID (integer) or UUID (string) to exclude from the uniqueness check, typically the client currently being edited. | |
label |
query | string | No | Label to check for availability within the current data owner. Empty or whitespace-only values are treated as available. |
Response 200 OK
- application/json
{
"available": true,
"label": "string"
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
GET /clients/{id}
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
- application/json
{
"client": {
"id": 0,
"uuid": "string",
"access_level": "owner",
"type": "string",
"label": "string",
"extra_label": "string",
"tags": [
"string"
],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z",
"disabled_at": "2026-01-15T10:30:00Z",
"disabled_reason": "string",
"last_measurement_at": "2026-01-15T10:30:00Z",
"last_client_type": "string",
"last_client_version": "string",
"last_client_time_zone": "string",
"last_seen_at": "2026-01-15T10:30:00Z",
"config_managed": true,
"delivered_public_config": {
"id": 0,
"name": "string",
"is_default": true
},
"delivered_automator_config": {
"id": 0,
"name": "string",
"is_default": true
},
"configuration": {
"managed": true,
"public_config": {
"assignment": {
"id": 0,
"config_id": 0,
"config_name": "string",
"source": "manual",
"source_client_group_id": 0,
"source_client_group_name": "string",
"assigned_by_id": 0,
"assigned_by_name": "string",
"valid_from": "2026-01-15T10:30:00Z"
},
"delivered": {
"id": 0,
"name": "string",
"is_default": true,
"published_revision": 0
}
},
"automator_config": {
"assignment": {
"id": 0,
"config_id": 0,
"config_name": "string",
"source": "manual",
"source_client_group_id": 0,
"source_client_group_name": "string",
"assigned_by_id": 0,
"assigned_by_name": "string",
"valid_from": "2026-01-15T10:30:00Z"
},
"delivered": {
"id": 0,
"name": "string",
"is_default": true,
"published_revision": 0
}
},
"local_public_config": {},
"local_automator_config": {},
"effective_service_credentials": [
{
"service": "string",
"id": 0,
"name": "string",
"username": "string",
"source": "client"
}
],
"service_credentials": [
{
"id": 0,
"name": "string",
"service": "string",
"username": "string",
"password_set": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
],
"last_config_check_at": "2026-01-15T10:30:00Z",
"last_config_download_at": "2026-01-15T10:30:00Z",
"last_pulled_config_hash": "string",
"last_pulled_public_config": {
"id": 0,
"name": "string",
"is_default": true
},
"last_pulled_public_config_revision": 0,
"last_pulled_automator_config": {
"id": 0,
"name": "string",
"is_default": true
},
"last_pulled_automator_config_revision": 0,
"missing_study_ids": [
"string"
],
"next_scheduled_runs": {
"timezone": "string",
"timezone_source": "config",
"entries": [
{
"id": "string",
"kind": "study",
"study_id": null,
"schedule": "string",
"interval": "string",
"runs": [
"2026-01-15T10:30:00Z"
]
}
]
}
},
"offline": true,
"anomalies_muted": true,
"offline_notifications_muted": true,
"system_health_notifications_muted": true,
"registration_key": {
"id": 0,
"registration_key": "string",
"comment": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z",
"num_registrations_left": 0,
"usage_limit_days": 0
},
"client_groups": [
{
"id": 0,
"name": "string"
}
],
"current_isp_contract": {
"id": 0,
"isp_id": 0,
"isp_name": "string",
"client_id": 0,
"upload_speed": 0,
"download_speed": 0,
"monthly_price": 10.12,
"currency": "string",
"assumed_tariff": "string",
"connection_type": "string",
"name": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z"
}
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
PUT /clients/{id}
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Request body
- application/json
{
"anomalies_muted": true,
"offline_notifications_muted": true,
"system_health_notifications_muted": true
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 200 OK
- application/json
{
"client": {
"id": 0,
"uuid": "string",
"access_level": "owner",
"type": "string",
"label": "string",
"extra_label": "string",
"tags": [
"string"
],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z",
"disabled_at": "2026-01-15T10:30:00Z",
"disabled_reason": "string",
"last_measurement_at": "2026-01-15T10:30:00Z",
"last_client_type": "string",
"last_client_version": "string",
"last_client_time_zone": "string",
"last_seen_at": "2026-01-15T10:30:00Z",
"config_managed": true,
"delivered_public_config": {
"id": 0,
"name": "string",
"is_default": true
},
"delivered_automator_config": {
"id": 0,
"name": "string",
"is_default": true
},
"configuration": {
"managed": true,
"public_config": {
"assignment": {
"id": 0,
"config_id": 0,
"config_name": "string",
"source": "manual",
"source_client_group_id": 0,
"source_client_group_name": "string",
"assigned_by_id": 0,
"assigned_by_name": "string",
"valid_from": "2026-01-15T10:30:00Z"
},
"delivered": {
"id": 0,
"name": "string",
"is_default": true,
"published_revision": 0
}
},
"automator_config": {
"assignment": {
"id": 0,
"config_id": 0,
"config_name": "string",
"source": "manual",
"source_client_group_id": 0,
"source_client_group_name": "string",
"assigned_by_id": 0,
"assigned_by_name": "string",
"valid_from": "2026-01-15T10:30:00Z"
},
"delivered": {
"id": 0,
"name": "string",
"is_default": true,
"published_revision": 0
}
},
"local_public_config": {},
"local_automator_config": {},
"effective_service_credentials": [
{
"service": "string",
"id": 0,
"name": "string",
"username": "string",
"source": "client"
}
],
"service_credentials": [
{
"id": 0,
"name": "string",
"service": "string",
"username": "string",
"password_set": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
],
"last_config_check_at": "2026-01-15T10:30:00Z",
"last_config_download_at": "2026-01-15T10:30:00Z",
"last_pulled_config_hash": "string",
"last_pulled_public_config": {
"id": 0,
"name": "string",
"is_default": true
},
"last_pulled_public_config_revision": 0,
"last_pulled_automator_config": {
"id": 0,
"name": "string",
"is_default": true
},
"last_pulled_automator_config_revision": 0,
"missing_study_ids": [
"string"
],
"next_scheduled_runs": {
"timezone": "string",
"timezone_source": "config",
"entries": [
{
"id": "string",
"kind": "study",
"study_id": null,
"schedule": "string",
"interval": "string",
"runs": [
"2026-01-15T10:30:00Z"
]
}
]
}
},
"offline": true,
"anomalies_muted": true,
"offline_notifications_muted": true,
"system_health_notifications_muted": true,
"registration_key": {
"id": 0,
"registration_key": "string",
"comment": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z",
"num_registrations_left": 0,
"usage_limit_days": 0
},
"client_groups": [
{
"id": 0,
"name": "string"
}
]
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
PATCH /clients/{id}/notification_preferences
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
POST /clients/{id}/disable
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
- application/json
{
"client": {
"id": 0,
"uuid": "string",
"access_level": "owner",
"type": "string",
"label": "string",
"extra_label": "string",
"tags": [
"string"
],
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z",
"disabled_at": "2026-01-15T10:30:00Z",
"disabled_reason": "string",
"anomalies_muted": true,
"offline_notifications_muted": true,
"system_health_notifications_muted": true,
"registration_key": {
"id": 0,
"registration_key": "string",
"comment": "string",
"valid_from": "2026-01-15T10:30:00Z",
"valid_until": "2026-01-15T10:30:00Z",
"num_registrations_left": 0,
"usage_limit_days": 0
},
"client_groups": [
{
"id": 0,
"name": "string"
}
]
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
POST /clients/{id}/mute
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
POST /clients/{id}/unmute
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
id |
path | string | No |
Response 200 OK
Schemas
ClientCheckLabelAvailabilityResponse
| Name | Type |
|---|---|
available |
boolean |
label |
string |
ClientDisableResponse
| Name | Type |
|---|---|
client |
Properties: id, uuid, access_level, type, label, extra_label, tags, created_at, updated_at, disabled_at, disabled_reason, anomalies_muted, offline_notifications_muted, system_health_notifications_muted, registration_key, client_groups |
ClientIndexResponse
| Name | Type |
|---|---|
clients |
Array<Properties: id, uuid, access_level, type, label, extra_label, tags, created_at, updated_at, disabled_at, disabled_reason, last_measurement_at, last_client_type, last_client_version, last_client_time_zone, last_seen_at, config_managed, delivered_public_config, delivered_automator_config, offline, anomalies_muted, offline_notifications_muted, system_health_notifications_muted, registration_key, client_groups, current_isp_contract> |
ClientNotificationPreferencesUpdateData
| Name | Type |
|---|---|
anomalies_muted |
boolean |
offline_notifications_muted |
boolean |
system_health_notifications_muted |
boolean |
ClientShowResponse
| Name | Type |
|---|---|
client |
Properties: id, uuid, access_level, type, label, extra_label, tags, created_at, updated_at, disabled_at, disabled_reason, last_measurement_at, last_client_type, last_client_version, last_client_time_zone, last_seen_at, config_managed, delivered_public_config, delivered_automator_config, configuration, offline, anomalies_muted, offline_notifications_muted, system_health_notifications_muted, registration_key, client_groups, current_isp_contract |
ClientUpdateResponse
| Name | Type |
|---|---|
client |
Properties: id, uuid, access_level, type, label, extra_label, tags, created_at, updated_at, disabled_at, disabled_reason, last_measurement_at, last_client_type, last_client_version, last_client_time_zone, last_seen_at, config_managed, delivered_public_config, delivered_automator_config, configuration, offline, anomalies_muted, offline_notifications_muted, system_health_notifications_muted, registration_key, client_groups |
Security schemes
<tr>
<td>ApiKeyAuth</td>
<td>apiKey</td>
<td></td>
<td>API key used on every request. Create keys in the Surfmeter Dashboard
under Keys → Surfmeter API Keys.
</tbody>
| Name | Type | Scheme | Description |
|---|