GET/devices
List devices
Returns the registered devices owned by the authenticated organization, newest first.
Requires the devices:read scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer (min 1, max 200, default 50) | Max results to return (1–200, default 50). |
offset | query | integer (min 0, default 0) | Number of results to skip (default 0). |
Responses
| Status | Meaning |
|---|---|
200 | A page of devices. |
401 | Missing, invalid, expired, or revoked API token. |
403 | The token lacks a required scope. |
Response body (200)
| Field | Type | Description |
|---|---|---|
devices | array of objects | The devices on this page. |
devices[].id | string (uuid) | Internal device id. |
devices[].external_id | string or null | Hardware/install identifier. |
devices[].name | string | Device name: the display name you set, or the name the phone reports. |
devices[].model | string or null | Device model, as the phone reports it. |
devices[].os_version | string or null | Android version the device reports. |
devices[].app_version | string or null | Version of the FalconProxy app on the device. |
devices[].is_active | boolean | Whether the device is active on your account. |
devices[].is_connected | boolean | Whether the device tunnel is connected. |
devices[].exit_relay_active | boolean | Whether the exit relay is running on the device. |
devices[].proxy_mode | string | Whether the device serves one proxy (dedicated) or several (shared). |
devices[].proxy_endpoint_count | integer | Number of proxies on the device now. |
devices[].max_proxy_endpoints | integer | Most proxies the device can serve. |
devices[].location | object | Where the device is located, as last recorded. Each part is null when unknown. |
devices[].location.country | string or null | Country name. |
devices[].location.country_code | string or null | Two-letter country code. |
devices[].location.city | string or null | City. |
devices[].location.region | string or null | Region or state. |
devices[].usage_30d | object | Traffic over the last 30 days. |
devices[].usage_30d.bytes_in | integer | Bytes downloaded: data that came back from the sites reached through the proxy. |
devices[].usage_30d.bytes_out | integer | Bytes uploaded: data sent to those sites through the proxy. |
devices[].usage_30d.requests | integer | Number of requests. |
devices[].last_connected_at | string or null | ISO 8601 timestamp. |
devices[].last_active_at | string or null | ISO 8601 timestamp. |
devices[].created_at | string or null | ISO 8601 timestamp. |
pagination | object | Where this page sits in the full list. |
pagination.limit | integer | Page size used for this answer. |
pagination.offset | integer | Number of items skipped before this page. |
pagination.total | integer | Number of items that match, across all pages. |
{
"devices": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"external_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"model": "string",
"os_version": "string",
"app_version": "string",
"is_active": true,
"is_connected": true,
"exit_relay_active": true,
"proxy_mode": "string",
"proxy_endpoint_count": 0,
"max_proxy_endpoints": 0,
"location": {
"country": "string",
"country_code": "string",
"city": "string",
"region": "string"
},
"usage_30d": {
"bytes_in": 0,
"bytes_out": 0,
"requests": 0
},
"last_connected_at": "2026-01-15T12:00:00Z",
"last_active_at": "2026-01-15T12:00:00Z",
"created_at": "2026-01-15T12:00:00Z"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}Example request
curl "https://falconproxy.com/api/v1/devices" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY"GET/devices/{id}
Get a device
Returns a single device by its id.
Requires the devices:read scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
Responses
| Status | Meaning |
|---|---|
200 | The requested device. |
401 | Missing, invalid, expired, or revoked API token. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
Response body (200)
| Field | Type | Description |
|---|---|---|
device | object | A registered Android device serving proxies. |
device.id | string (uuid) | Internal device id. |
device.external_id | string or null | Hardware/install identifier. |
device.name | string | Device name: the display name you set, or the name the phone reports. |
device.model | string or null | Device model, as the phone reports it. |
device.os_version | string or null | Android version the device reports. |
device.app_version | string or null | Version of the FalconProxy app on the device. |
device.is_active | boolean | Whether the device is active on your account. |
device.is_connected | boolean | Whether the device tunnel is connected. |
device.exit_relay_active | boolean | Whether the exit relay is running on the device. |
device.proxy_mode | string | Whether the device serves one proxy (dedicated) or several (shared). |
device.proxy_endpoint_count | integer | Number of proxies on the device now. |
device.max_proxy_endpoints | integer | Most proxies the device can serve. |
device.location | object | Where the device is located, as last recorded. Each part is null when unknown. |
device.location.country | string or null | Country name. |
device.location.country_code | string or null | Two-letter country code. |
device.location.city | string or null | City. |
device.location.region | string or null | Region or state. |
device.usage_30d | object | Traffic over the last 30 days. |
device.usage_30d.bytes_in | integer | Bytes downloaded: data that came back from the sites reached through the proxy. |
device.usage_30d.bytes_out | integer | Bytes uploaded: data sent to those sites through the proxy. |
device.usage_30d.requests | integer | Number of requests. |
device.last_connected_at | string or null | ISO 8601 timestamp. |
device.last_active_at | string or null | ISO 8601 timestamp. |
device.created_at | string or null | ISO 8601 timestamp. |
{
"device": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"external_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"model": "string",
"os_version": "string",
"app_version": "string",
"is_active": true,
"is_connected": true,
"exit_relay_active": true,
"proxy_mode": "string",
"proxy_endpoint_count": 0,
"max_proxy_endpoints": 0,
"location": {
"country": "string",
"country_code": "string",
"city": "string",
"region": "string"
},
"usage_30d": {
"bytes_in": 0,
"bytes_out": 0,
"requests": 0
},
"last_connected_at": "2026-01-15T12:00:00Z",
"last_active_at": "2026-01-15T12:00:00Z",
"created_at": "2026-01-15T12:00:00Z"
}
}Example request
curl "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY"GET/devices/{id}/network-mode
Read device network mode and pending change
Returns the live network mode from runtime state and any in-flight mode change.
Requires the devices:read scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
Responses
| Status | Meaning |
|---|---|
200 | Current mode and change status. |
401 | Missing, invalid, expired, or revoked API token. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
Response body (200)
| Field | Type | Description |
|---|---|---|
network_mode | string or null | Live network mode from runtime state, if reported. |
pending_change | object or null | In-flight change, if any. |
pending_change.id | string (uuid) | Mode change record id. |
pending_change.device_id | string (uuid) | Device the change applies to. |
pending_change.target_mode | "mobile" | "wifi" | "boosted" | "auto" | Requested exit interface. |
pending_change.status | "requested" | "delivered" | "confirmed" | "failed" | "timed_out" | "superseded" | Where the change is in its lifecycle. |
pending_change.failure_code | string or null | Stable machine code when status is failed or timed_out. |
pending_change.failure_message | string or null | Human refusal or timeout message. |
pending_change.source | "api" | "dashboard" | "url" | Who requested the change. |
pending_change.requested_at | string (date-time) | When the change was requested. |
pending_change.delivered_at | string (date-time) or null | When the relay accepted the command, if ever. |
pending_change.confirmed_at | string (date-time) or null | When live mode matched the target, if ever. |
pending_change.terminal_at | string (date-time) or null | When the record reached a terminal status. |
latest_change | object or null | Most recent change row, including terminal ones. |
latest_change.id | string (uuid) | Mode change record id. |
latest_change.device_id | string (uuid) | Device the change applies to. |
latest_change.target_mode | "mobile" | "wifi" | "boosted" | "auto" | Requested exit interface. |
latest_change.status | "requested" | "delivered" | "confirmed" | "failed" | "timed_out" | "superseded" | Where the change is in its lifecycle. |
latest_change.failure_code | string or null | Stable machine code when status is failed or timed_out. |
latest_change.failure_message | string or null | Human refusal or timeout message. |
latest_change.source | "api" | "dashboard" | "url" | Who requested the change. |
latest_change.requested_at | string (date-time) | When the change was requested. |
latest_change.delivered_at | string (date-time) or null | When the relay accepted the command, if ever. |
latest_change.confirmed_at | string (date-time) or null | When live mode matched the target, if ever. |
latest_change.terminal_at | string (date-time) or null | When the record reached a terminal status. |
{
"network_mode": "string",
"pending_change": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_mode": "mobile",
"status": "requested",
"failure_code": "string",
"failure_message": "string",
"source": "api",
"requested_at": "2026-01-15T12:00:00Z",
"delivered_at": "2026-01-15T12:00:00Z",
"confirmed_at": "2026-01-15T12:00:00Z",
"terminal_at": "2026-01-15T12:00:00Z"
},
"latest_change": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_mode": "mobile",
"status": "requested",
"failure_code": "string",
"failure_message": "string",
"source": "api",
"requested_at": "2026-01-15T12:00:00Z",
"delivered_at": "2026-01-15T12:00:00Z",
"confirmed_at": "2026-01-15T12:00:00Z",
"terminal_at": "2026-01-15T12:00:00Z"
}
}Example request
curl "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6/network-mode" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY"POST/devices/{id}/network-mode
Set device network mode
Requests a switch of the device's exit interface (mobile, wifi, boosted, auto). Returns 202 with a change id when accepted; poll GET .../network-mode/changes/{changeId}.
Requires the devices:control scope and an active subscription.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
Request body
| Field | Type | Description |
|---|---|---|
moderequired | "mobile" | "wifi" | "boosted" | "auto" | Exit interface the device routes through. |
{
"mode": "mobile"
}Responses
| Status | Meaning |
|---|---|
200 | Already in the requested mode (no-op). |
202 | Mode change accepted. |
400 | The request body failed validation. |
401 | Missing, invalid, expired, or revoked API token. |
402 | The subscription is inactive. Reading is allowed, but mutating actions require an active subscription. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
409 | Another mode change is already in progress, a rotation is running, the device tunnel is off on the phone, or the device is offline. |
503 | The relay service is not available. |
Response body (200)
| Field | Type | Description |
|---|---|---|
status | "already_in_mode" | No command was sent. |
network_mode | string or null | Current live mode. |
target_mode | "mobile" | "wifi" | "boosted" | "auto" | Mode the caller asked for. |
{
"status": "already_in_mode",
"network_mode": "string",
"target_mode": "mobile"
}Response body (202)
| Field | Type | Description |
|---|---|---|
status | "accepted" | "pending" | "failed" | Whether a new change started, an existing one was reused, or delivery failed. |
change | object | The change record to poll. |
change.id | string (uuid) | Mode change record id. |
change.device_id | string (uuid) | Device the change applies to. |
change.target_mode | "mobile" | "wifi" | "boosted" | "auto" | Requested exit interface. |
change.status | "requested" | "delivered" | "confirmed" | "failed" | "timed_out" | "superseded" | Where the change is in its lifecycle. |
change.failure_code | string or null | Stable machine code when status is failed or timed_out. |
change.failure_message | string or null | Human refusal or timeout message. |
change.source | "api" | "dashboard" | "url" | Who requested the change. |
change.requested_at | string (date-time) | When the change was requested. |
change.delivered_at | string (date-time) or null | When the relay accepted the command, if ever. |
change.confirmed_at | string (date-time) or null | When live mode matched the target, if ever. |
change.terminal_at | string (date-time) or null | When the record reached a terminal status. |
status_url | string | Relative URL to poll this change. |
error | string | Relay error when status is failed. |
{
"status": "accepted",
"change": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_mode": "mobile",
"status": "requested",
"failure_code": "string",
"failure_message": "string",
"source": "api",
"requested_at": "2026-01-15T12:00:00Z",
"delivered_at": "2026-01-15T12:00:00Z",
"confirmed_at": "2026-01-15T12:00:00Z",
"terminal_at": "2026-01-15T12:00:00Z"
},
"status_url": "https://example.com",
"error": "string"
}Response body (409)
| Field | Type | Description |
|---|---|---|
error | string | What stopped the mode change. |
status | "mode_change_in_progress" | "rotation_in_progress" | "device_tunnel_off" | "offline" | Stable conflict code. |
change | object | The active change, when status is mode_change_in_progress. |
change.id | string (uuid) | Mode change record id. |
change.device_id | string (uuid) | Device the change applies to. |
change.target_mode | "mobile" | "wifi" | "boosted" | "auto" | Requested exit interface. |
change.status | "requested" | "delivered" | "confirmed" | "failed" | "timed_out" | "superseded" | Where the change is in its lifecycle. |
change.failure_code | string or null | Stable machine code when status is failed or timed_out. |
change.failure_message | string or null | Human refusal or timeout message. |
change.source | "api" | "dashboard" | "url" | Who requested the change. |
change.requested_at | string (date-time) | When the change was requested. |
change.delivered_at | string (date-time) or null | When the relay accepted the command, if ever. |
change.confirmed_at | string (date-time) or null | When live mode matched the target, if ever. |
change.terminal_at | string (date-time) or null | When the record reached a terminal status. |
{
"error": "string",
"status": "mode_change_in_progress",
"change": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_mode": "mobile",
"status": "requested",
"failure_code": "string",
"failure_message": "string",
"source": "api",
"requested_at": "2026-01-15T12:00:00Z",
"delivered_at": "2026-01-15T12:00:00Z",
"confirmed_at": "2026-01-15T12:00:00Z",
"terminal_at": "2026-01-15T12:00:00Z"
}
}Example request
curl -X POST "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6/network-mode" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "mobile"
}'GET/devices/{id}/network-mode/changes/{changeId}
Poll a network mode change
Returns the state of a single mode change record.
Requires the devices:read scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
changeIdrequired | path | string (uuid) | Mode change id returned by POST /network-mode. |
Responses
| Status | Meaning |
|---|---|
200 | Mode change record. |
401 | Missing, invalid, expired, or revoked API token. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
Response body (200)
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Mode change record id. |
device_id | string (uuid) | Device the change applies to. |
target_mode | "mobile" | "wifi" | "boosted" | "auto" | Requested exit interface. |
status | "requested" | "delivered" | "confirmed" | "failed" | "timed_out" | "superseded" | Where the change is in its lifecycle. |
failure_code | string or null | Stable machine code when status is failed or timed_out. |
failure_message | string or null | Human refusal or timeout message. |
source | "api" | "dashboard" | "url" | Who requested the change. |
requested_at | string (date-time) | When the change was requested. |
delivered_at | string (date-time) or null | When the relay accepted the command, if ever. |
confirmed_at | string (date-time) or null | When live mode matched the target, if ever. |
terminal_at | string (date-time) or null | When the record reached a terminal status. |
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"target_mode": "mobile",
"status": "requested",
"failure_code": "string",
"failure_message": "string",
"source": "api",
"requested_at": "2026-01-15T12:00:00Z",
"delivered_at": "2026-01-15T12:00:00Z",
"confirmed_at": "2026-01-15T12:00:00Z",
"terminal_at": "2026-01-15T12:00:00Z"
}Example request
curl "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6/network-mode/changes/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY"POST/devices/{id}/exit-relay
Start or stop the exit relay
Starts or stops the device's exit relay.
Requires the devices:control scope and an active subscription.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
Request body
| Field | Type | Description |
|---|---|---|
activerequired | boolean | Start (true) or stop (false) the exit relay. |
{
"active": true
}Responses
| Status | Meaning |
|---|---|
200 | The relay accepted the toggle. |
400 | The request body failed validation. |
401 | Missing, invalid, expired, or revoked API token. |
402 | The subscription is inactive. Reading is allowed, but mutating actions require an active subscription. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
503 | The relay service is not available. |
Example request
curl -X POST "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6/exit-relay" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"active": true
}'POST/devices/{id}/vibrate
Vibrate a device
Triggers a vibration on the device to help locate it.
Requires the devices:control scope and an active subscription.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | Device id (UUID). |
Responses
| Status | Meaning |
|---|---|
200 | The relay accepted the vibrate command. |
400 | The request body failed validation. |
401 | Missing, invalid, expired, or revoked API token. |
402 | The subscription is inactive. Reading is allowed, but mutating actions require an active subscription. |
403 | The token lacks a required scope. |
404 | The resource does not exist or is not visible to this token. |
503 | The relay service is not available. |
Example request
curl -X POST "https://falconproxy.com/api/v1/devices/3fa85f64-5717-4562-b3fc-2c963f66afa6/vibrate" \
-H "Authorization: Bearer $FALCONPROXY_API_KEY"