Skip to content

API Explorer

Explore the UnboundBytes API documentation. View all available endpoints, their parameters, request/response schemas, and examples.

Use one of these tools to explore the API interactively:

The fastest way to explore the API:

  1. Visit editor.swagger.io
  2. Click File > Import URL
  3. Enter: https://docs.unboundbytes.com/openapi.yaml
  4. Browse endpoints, view schemas, and try requests

For a polished documentation view:

  1. Visit redocly.github.io/redoc
  2. The spec loads automatically
  3. Browse the three-panel layout with examples

For a modern interactive experience:

  1. Visit scalar.com
  2. The spec loads automatically
  3. Generate code snippets and test requests

Import into Postman for API testing:

  1. Open Postman
  2. Click Import > Link
  3. Enter: https://docs.unboundbytes.com/openapi.yaml
  4. Configure authentication in Collection variables

Import into Insomnia for development:

  1. Open Insomnia
  2. Click Application > Preferences > Data > Import Data > From URL
  3. Enter: https://docs.unboundbytes.com/openapi.yaml

Generate client libraries from the spec:

Terminal window
# Using openapi-generator-cli
npx @openapitools/openapi-generator-cli generate \
-i https://docs.unboundbytes.com/openapi.yaml \
-g typescript-fetch \
-o ./generated-client
# Using Orval (TypeScript)
npx orval --input https://docs.unboundbytes.com/openapi.yaml \
--output ./src/api

Basic health and monitoring endpoints:

MethodEndpointDescription
GET/healthService health check
GET/readyReadiness check
GET/liveLiveness check
GET/metricsPrometheus metrics

Endpoints for the device pairing flow:

MethodEndpointDescription
POST/v1/pairing/initiateStart device pairing
POST/v1/pairing/prepare-activationGet activation token
POST/v1/pairing/activateComplete pairing
POST/v1/pairing/auto-activateAuto-activate via enrollment token
GET/v1/pairing/status/{fingerprint}Check pairing status

Device management endpoints:

MethodEndpointDescription
GET/v1/hostsList all devices
POST/v1/hostsRegister a device
GET/v1/hosts/{deviceId}Get device details
DELETE/v1/hosts/{deviceId}Delete a device
POST/v1/hosts/{deviceId}/heartbeatSend heartbeat
POST/v1/hosts/{deviceId}/rotate-secretRotate device secret
GET/v1/hosts/{deviceId}/volumesList device volumes

Command queue endpoints:

MethodEndpointDescription
GET/v1/hosts/{deviceId}/commandsPoll command queue
POST/v1/hosts/{deviceId}/commandsQueue a command
POST/v1/hosts/{deviceId}/commands/{commandId}/ackAcknowledge command

Deployment management endpoints:

MethodEndpointDescription
GET/v1/deploymentsList deployments
POST/v1/deploymentsCreate deployment
GET/v1/deployments/{deploymentId}Get deployment
PATCH/v1/deployments/{deploymentId}Update deployment
DELETE/v1/deployments/{deploymentId}Delete deployment
GET/v1/deployments/{deploymentId}/dashboardDeployment dashboard

Backup management endpoints:

MethodEndpointDescription
GET/v1/backupsList all backups
GET/v1/hosts/{deviceId}/backupsList device backups
POST/v1/hosts/{deviceId}/backupsCreate backup
POST/v1/hosts/{deviceId}/backups/{backupId}/restoreRestore backup
POST/v1/hosts/{deviceId}/backups/{backupId}/verifyVerify backup
GET/v1/backups/{backupId}/downloadDownload backup

Tunnel management endpoints:

MethodEndpointDescription
GET/v1/hosts/{deviceId}/tunnelsList tunnels
POST/v1/hosts/{deviceId}/tunnelsCreate tunnel
GET/v1/hosts/{deviceId}/tunnels/{tunnelId}/credentialsGet credentials
PUT/v1/hosts/{deviceId}/tunnels/{tunnelId}Update tunnel
DELETE/v1/hosts/{deviceId}/tunnels/{tunnelId}Delete tunnel
POST/v1/tunnelsCreate global tunnel
GET/v1/tunnels/{tunnelId}/healthCheck tunnel health
POST/v1/tunnels/{tunnelId}/stopStop tunnel
DELETE/v1/tunnels/{tunnelId}Delete tunnel

Application management endpoints:

MethodEndpointDescription
GET/v1/appsList applications
POST/v1/appsCreate application
GET/v1/apps/{appId}Get application
PATCH/v1/apps/{appId}Update application
DELETE/v1/apps/{appId}Delete application
PUT/v1/apps/{appId}Replace application
GET/v1/apps/{appId}/secretsGet app secrets
POST/v1/apps/{appId}/secrets/rotateRotate secrets
POST/v1/apps/{appId}/rollbackRollback application
GET/v1/app-templatesList app templates

Tenant management endpoints:

MethodEndpointDescription
GET/v1/tenants/{tenantId}Get tenant
GET/v1/tenants/{tenantId}/dashboard/summaryDashboard summary
GET/v1/tenants/{tenantId}/metrics/healthHealth metrics
GET/v1/tenants/{tenantId}/metrics/activityActivity metrics
GET/v1/tenants/{tenantId}/metrics/resourcesResource metrics

Bulk operation endpoints:

MethodEndpointDescription
GET/v1/batchList batch operations
POST/v1/batchCreate batch operation
GET/v1/batch/{operationId}Get operation status

Webhook subscription management:

MethodEndpointDescription
GET/v1/webhooksList webhooks
POST/v1/webhooksCreate webhook
GET/v1/webhooks/{webhookId}Get webhook
PUT/v1/webhooks/{webhookId}Update webhook
DELETE/v1/webhooks/{webhookId}Delete webhook

Payment and subscription endpoints:

MethodEndpointDescription
GET/v1/billing/plansList available plans
GET/v1/tenants/{tenantId}/billingGet billing info
PUT/v1/tenants/{tenantId}/billing/planChange plan
POST/v1/billing/paddle/checkoutStart checkout
POST/v1/billing/paddle/cancelCancel subscription

Role-based access control endpoints:

MethodEndpointDescription
GET/v1/rolesList tenant roles
GET/v1/roles/meGet my role
PUT/v1/roles/{userId}Set user role (owner only)
DELETE/v1/roles/{userId}Remove user (owner only)

Team invitation endpoints:

MethodEndpointDescription
GET/v1/tenants/{tenantId}/invitesList invites
POST/v1/tenants/{tenantId}/invitesCreate invite
DELETE/v1/tenants/{tenantId}/invites/{inviteId}Revoke invite
GET/v1/invites/{token}/validateValidate invite (public)
POST/v1/invites/{token}/acceptAccept invite (public)