Fivexer Worker Auth API

The worker-auth API from Fivexer — 8 operation(s) for worker-auth.

Operations 9

POST /v1/worker-auth/login Worker login with PIN #
POST /v1/worker-auth/refresh Rotate the current worker session token #
GET /v1/worker-auth/invite Worker invite link target (from the email): set-PIN page #
POST /v1/worker-auth/accept-invite Consume a worker invite token and set the PIN #
GET /v1/worker-auth/join Worker join link target (from a QR code): self-registration page #
POST /v1/worker-auth/join Self-register as a worker via a QR join link #
POST /v1/worker-auth/logout Revoke the current worker session and clear push registrations #
GET /v1/worker-auth/devices List devices holding a session for this worker #
DELETE /v1/worker-auth/devices/{deviceId} Sign a device out for good #

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/5xer-com:5xer-com-worker-auth-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

5xer-com-worker-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fivexer Platform Worker Auth API
  description: 'Routing-as-a-service: create workers and tasks, the platform matches continuously. `/v1` authenticates with a workspace API key (`Authorization: Bearer sk_...`); `/console` with a session token from `/auth`; `/admin` with the operator token.'
  version: 0.1.0
servers:
- url: https://5xer.com
  description: This deployment
tags:
- name: worker-auth
paths:
  /v1/worker-auth/login:
    post:
      summary: Worker login with PIN
      tags:
      - worker-auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - workspaceId
              - workerId
              - pin
              properties:
                workspaceId:
                  type: string
                  maxLength: 64
                workerId:
                  type: string
                  minLength: 1
                  maxLength: 128
                pin:
                  type: string
                  minLength: 1
                  maxLength: 256
                remember:
                  type: boolean
                deviceId:
                  type: string
                  minLength: 1
                  maxLength: 64
                deviceLabel:
                  type: string
                  maxLength: 80
      security: []
      responses:
        '200':
          description: Default Response
      operationId: postV1WorkerAuthLogin
      x-operation-id-source: derived
  /v1/worker-auth/refresh:
    post:
      summary: Rotate the current worker session token
      tags:
      - worker-auth
      security:
      - workerToken: []
      responses:
        '200':
          description: Default Response
      operationId: postV1WorkerAuthRefresh
      x-operation-id-source: derived
  /v1/worker-auth/invite:
    get:
      summary: 'Worker invite link target (from the email): set-PIN page'
      tags:
      - worker-auth
      security: []
      responses:
        '200':
          description: Default Response
      operationId: getV1WorkerAuthInvite
      x-operation-id-source: derived
  /v1/worker-auth/accept-invite:
    post:
      summary: Consume a worker invite token and set the PIN
      tags:
      - worker-auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - token
              - pin
              properties:
                token:
                  type: string
                  minLength: 1
                  maxLength: 256
                pin:
                  type: string
                  minLength: 4
                  maxLength: 256
      security: []
      responses:
        '200':
          description: Default Response
      operationId: postV1WorkerAuthAcceptInvite
      x-operation-id-source: derived
  /v1/worker-auth/join:
    get:
      summary: 'Worker join link target (from a QR code): self-registration page'
      tags:
      - worker-auth
      security: []
      responses:
        '200':
          description: Default Response
      operationId: getV1WorkerAuthJoin
      x-operation-id-source: derived
    post:
      summary: Self-register as a worker via a QR join link
      tags:
      - worker-auth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - token
              - name
              - pin
              properties:
                token:
                  type: string
                  minLength: 1
                  maxLength: 256
                name:
                  type: string
                  minLength: 1
                  maxLength: 128
                pin:
                  type: string
                  minLength: 4
                  maxLength: 256
                email:
                  type: string
                  format: email
                  maxLength: 256
      security: []
      responses:
        '200':
          description: Default Response
      operationId: postV1WorkerAuthJoin
      x-operation-id-source: derived
  /v1/worker-auth/logout:
    post:
      summary: Revoke the current worker session and clear push registrations
      tags:
      - worker-auth
      security:
      - workerToken: []
      responses:
        '200':
          description: Default Response
      operationId: postV1WorkerAuthLogout
      x-operation-id-source: derived
  /v1/worker-auth/devices:
    get:
      summary: List devices holding a session for this worker
      tags:
      - worker-auth
      security:
      - workerToken: []
      responses:
        '200':
          description: Default Response
      operationId: getV1WorkerAuthDevices
      x-operation-id-source: derived
  /v1/worker-auth/devices/{deviceId}:
    delete:
      summary: Sign a device out for good
      tags:
      - worker-auth
      security:
      - workerToken: []
      parameters:
      - schema:
          type: string
        in: path
        name: deviceId
        required: true
      responses:
        '200':
          description: Default Response
      operationId: deleteV1WorkerAuthDevicesByDeviceId
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Workspace API key (sk_test_/sk_live_)
    session:
      type: http
      scheme: bearer
      description: Console session token (st_...)
    adminToken:
      type: http
      scheme: bearer
      description: Operator ADMIN_TOKEN
    workerToken:
      type: http
      scheme: bearer
      description: Worker session token (wt_...)
    supervisorToken:
      type: http
      scheme: bearer
      description: Supervisor session token (sv_...), scoped to one workspace and optionally one team