CodeB Network Access API

EUDI §5f Network-Access-via-PID — scope=network_access, signed WiFi/APN configs

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /oidc.ashx?action=network-config Retrieve the signed NetworkConfig for a completed network_access session… #

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/codeb:codeb-network-access-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

codeb-network-access-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CodeB Sovereign Communications — Public Network Access API
  version: 2026-10-13 csc-rqes
  summary: REST + WebSocket + OpenID Connect + OpenID4VP + OpenID4VCI + LOTL + Federation + SIP-over-WebSocket surface, all multi-tenant by Host header. Aloaha-owned, built from scratch, hosted in Malta.
  description: 'This spec covers every publicly reachable endpoint exposed by the CodeB Sovereign Communications platform: the OIDC provider + EU Wallet verifier (oidc.ashx), the OpenID4VCI issuer (vci.ashx), the LOTL trust-anchor cache (lotl.ashx), the RP-certificate CA (rp-cert.ashx), the chat + file-transfer platform (chat.ashx + chat-ws.ashx + chat-invite/widget/email .ashx), the property-management inbox (pms.ashx), the per-tenant admin surface (signal.ashx), the v1 REST outbound-AI + numbers + transcripts (api.ashx/v1), the bridge health passthroughs (/sip-tls/health, /sip-ws/health, /sfu/health), and remote signing for EU Digital Identity Wallets (CSC v2 profile /rqes/csc/v2, also answered at /csc/rqes/v2, on csc.ashx + its OAuth 2.0 server csc-oauth.ashx). Every endpoint is tenant-scoped by the Host header; there is no cross-tenant data access. Import this file into Postman, Insomnia, Swagger UI or any OpenAPI-3-compatible tool to explore the surface. Machine-generated clients welcome. Authentication: `oidc-bearer` = an OIDC access-token minted by /oauth2/v1/token; `hmac-admin` = X-CodeB-Admin-Signature header = hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + ''|'' + Host)). Many admin endpoints accept EITHER bearer OR HMAC.'
  contact:
    name: Aloaha Limited
    url: https://www.aloaha.com/contact.html
  license:
    name: Proprietary — Aloaha Limited
    url: https://www.aloaha.com/legal.html
  termsOfService: https://www.aloaha.com/legal.html
servers:
- url: https://phone.aloaha.com
  description: Primary production tenant
- url: https://phone.codeb.io
  description: Development / conformance tenant
- url: https://{tenant}
  description: Any tenant domain — replace {tenant} with your provisioned host
  variables:
    tenant:
      default: phone.aloaha.com
security: []
tags:
- name: network-access
  description: EUDI §5f Network-Access-via-PID — scope=network_access, signed WiFi/APN configs
paths:
  /oidc.ashx?action=network-config:
    get:
      tags:
      - network-access
      operationId: networkConfig
      summary: Retrieve the signed NetworkConfig for a completed network_access session…
      parameters:
      - name: action
        in: query
        required: true
        schema:
          type: string
          enum:
          - network-config
      - name: session_id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkConfig'
        '404':
          description: Unknown or expired session
components:
  schemas:
    NetworkConfig:
      type: object
      description: Signed WiFi / APN / VPN configuration issued to a wallet after successful PID presentation with scope=network_access. Signature is a compact JWS (ES256, x5c chain) — wallet verifies against the tenant verifier cert, then provisions the network profile on the device.
      required:
      - profile_id
      - network_type
      - expires_at
      - signature
      properties:
        profile_id:
          type: string
          description: Tenant-configured profile name (e.g. 'guest-wifi-hotel', 'corporate-vpn').
        network_type:
          type: string
          enum:
          - wifi-wpa2-eap
          - wifi-wpa3-eap
          - wifi-wpa2-psk
          - wifi-hotspot20
          - apn-4g
          - apn-5g
          - openvpn
          - wireguard
        ssid:
          type: string
          description: WiFi SSID (when network_type is wifi-*)
        eap_method:
          type: string
          description: PEAP / TTLS / TLS / MSCHAPv2 (WPA2/3-EAP profiles)
        identity:
          type: string
          description: Derived from PID claims per tenant policy (e.g. given_name.family_name@tenant.example)
        password_or_psk:
          type: string
          description: Ephemeral per-session credential; not present for cert-based EAP-TLS.
        ca_certificate_pem:
          type: string
          description: Radius CA the wallet should trust for the corporate WPA2-EAP server.
        expires_at:
          type: string
          format: date-time
          description: Absolute expiry — wallet MUST discard the profile after this timestamp.
        signature:
          type: string
          description: Compact JWS (ES256, x5c chain to tenant verifier cert) over the canonicalised config body.
  securitySchemes:
    cscServiceToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 service access token (scope=service) from POST /csc/rqes/oauth2/token. Valid 1 hour. Lists and describes the signed-in user's signing credential.
    cscCredentialToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 credential access token (scope=credential) from POST /csc/rqes/oauth2/token. Bound to one credentialID and to exactly the document hashes the user confirmed; valid 5 minutes and for numSignatures signatures in total. Replaces the SAD on signatures/signHash.
    cscClientBasic:
      type: http
      scheme: basic
      description: OAuth client authentication (client_secret_basic). client_secret_post (client_id + client_secret form fields) is accepted as well. Clients are registered per tenant by the operator.
    oidcBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OIDC access token minted by /oauth2/v1/token. Tenant-scoped by Host header. Also accepts ak_-prefixed personal API keys on the v1 REST surface.
    hmacAdmin:
      type: apiKey
      in: header
      name: X-CodeB-Admin-Signature
      description: Hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + '|' + Host)). Bucket name is documented per-endpoint. This scheme is designed for machine-to-machine admin automation (CI, cron, back-office scripts) where OIDC bearer flow isn't practical.
    credentialAccessToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: OAuth 2.0 access token minted by /vci.ashx?token via pre-authorized_code grant. Used only on POST /vci.ashx?credential.