PassiveLogic PassiveLogic Device API

Routes related to PassiveLogic devices

Operations 6

GET /api/v0.20/device/login Logs in a PassiveLogic device #
GET /api/device/login Logs in a PassiveLogic device #
GET /api/device/tailscale/authToken Generates an OAuth token for Tailscale #
POST /api/v0.20/device/register
POST /api/device/register
GET /api/v0.20/device/tailscale/authToken Generates an OAuth token for Tailscale #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/passivelogic-passivelogic-device-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

passivelogic-passivelogic-device-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PassiveLogic Device API
  version: 0.0.0
  description: 'Operations tagged PassiveLogic Device across 2 of this provider''s published API definitions: passivelogic-passivelogic-device-api-openapi.yml, passivelogic-rest-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://passivelogic.com/api/
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- description: Routes related to PassiveLogic devices
  name: PassiveLogic Device
paths:
  /api/v0.20/device/login:
    get:
      operationId: getApiV0.20DeviceLogin
      tags:
      - PassiveLogic Device
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                DeviceLoginResponse:
                  $ref: '#/components/examples/DeviceLoginResponse'
              schema:
                $ref: '#/components/schemas/DeviceLoginResponse'
      summary: Logs in a PassiveLogic device
      description: 'Logs in a PassiveLogic device, responding with the authentication token.


        mTLS authentication required.'
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/device/login:
    get:
      summary: Logs in a PassiveLogic device
      tags:
      - PassiveLogic Device
      operationId: getApiDeviceLogin
      description: 'Logs in a PassiveLogic device, responding with the authentication token.


        mTLS authentication required.'
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                DeviceLoginResponse:
                  $ref: '#/components/examples/DeviceLoginResponse'
              schema:
                $ref: '#/components/schemas/DeviceLoginResponse'
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/device/tailscale/authToken:
    get:
      summary: Generates an OAuth token for Tailscale
      operationId: getApiDeviceTailscaleAuthToken
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TailscalePostTailnetKeyResponse'
      description: 'AutToken generated allowing hive''s to enroll in our tailnet.


        mTLS authentication required.'
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
      tags:
      - PassiveLogic Device
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v0.20/device/register:
    post:
      description: POST /device/register
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
      tags:
      - PassiveLogic Device
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/device/register:
    post:
      description: POST /device/register
      tags:
      - PassiveLogic Device
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v0.20/device/tailscale/authToken:
    get:
      summary: Generates an OAuth token for Tailscale
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TailscalePostTailnetKeyResponse'
          description: OK
      operationId: getApiV0.20DeviceTailscaleAuthToken
      description: 'AutToken generated allowing hive''s to enroll in our tailnet.


        mTLS authentication required.'
      security:
      - Basic Auth - login: []
      - XSRF header: []
      - DEPRECATED - PL API Key: []
      - PL API Key: []
      tags:
      - PassiveLogic Device
    servers:
    - url: https://passivelogic.com/api/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    DeviceLoginResponse:
      properties:
        token:
          type: string
          description: Signed authentication JWT
      required:
      - token
      description: Response to /api/device/login
      type: object
    TailscaleCapabilitiesDevices:
      properties:
        create:
          $ref: '#/components/schemas/TailscaleCapabilitiesDevicesCreate'
      required:
      - create
      type: object
    TailscalePostTailnetKeyResponse:
      properties:
        revoked:
          format: date-time
          type:
          - string
          - 'null'
        key:
          type: string
        expires:
          format: date-time
          type:
          - string
          - 'null'
        id:
          type: string
        description:
          type:
          - string
          - 'null'
        expirySeconds:
          format: int64
          type: integer
        created:
          format: date-time
          type:
          - string
          - 'null'
        invalid:
          type:
          - boolean
          - 'null'
        scopes:
          type:
          - array
          - 'null'
          items:
            type: string
        capabilities:
          $ref: '#/components/schemas/TailscaleCapabilities'
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
        keyType:
          type: string
        userId:
          type:
          - string
          - 'null'
      required:
      - capabilities
      - expirySeconds
      - id
      - key
      - keyType
      type: object
    TailscaleCapabilities:
      properties:
        devices:
          $ref: '#/components/schemas/TailscaleCapabilitiesDevices'
      required:
      - devices
      type: object
    TailscaleCapabilitiesDevicesCreate:
      properties:
        reusable:
          type: boolean
        preauthorized:
          type: boolean
        tags:
          type: array
          items:
            type: string
        ephemeral:
          type: boolean
      required:
      - ephemeral
      - preauthorized
      - reusable
      - tags
      type: object
  examples:
    DeviceLoginResponse:
      value:
        token: eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzM4NCIsImtpZCI6InBsLUUwOTk2NzlGLTQyNDQtNDA4Ni05NTZBLTg4OUM4QkVCQzg2QSJ9.eyJpc3N1ZXIiOiJQYXNzaXZlTG9naWMiLCJoaXZlSUQiOiJEMjU3M0M2Qy0wQjVBLTRCMzItQjM1Ni00OEEyOTlFRDE0OTMiLCJleHBpcmF0aW9uIjoxNzE0NDA2OTA3LjcyODE1Mywic3ViamVjdCI6IkhpdmUgQXV0aGVudGljYXRpb24iLCJoaXZlU2VyaWFsTnVtYmVyIjoiUTBSWFQyUE1HWCJ9.11Awfpm7Uo1LWBtZTCNn1pxUuliE3lcMF4bIqbJzX87u5zJRFRKqfNWdULlU7mmEq_Fes7CzEvSFmn7wlNLlZxY-T8NKhFq35raskqDW-ZdpXUKRk8aHyWfrCVeFcCZU
  securitySchemes:
    XSRF_header:
      in: header
      description: Authentication using an XSRF protected JWT
      name: X-PL-AUTH
      type: apiKey
    Basic_Auth_-_login:
      description: Basic authentication used only at login.
      scheme: basic
      type: http
    PL_API_Key:
      in: header
      description: PL API Key in header
      name: PL-API-KEY
      type: apiKey
    DEPRECATED_-_PL_API_Key:
      in: header
      description: DEPRECATED - PL API Key in Bearer header
      name: 'Authorization: PL-API-KEY'
      type: apiKey
x-refined-from:
- passivelogic-passivelogic-device-api-openapi.yml
- passivelogic-rest-api-openapi.yml