Skip to main content

BeaconTower.Onboarding Device API (v1)

Download OpenAPI specification:Download

Device-facing endpoints: EST certificate enrollment and renewal (RFC 7030), and settings bootstrap. Authenticated with EST Basic Auth / mTLS — not JWT. Served on the device host in production.

Bootstrap

Device bootstrap API — endpoints called by devices on first boot.

get_settings

Returns the device's bootstrap settings (provider connection parameters). The response shape is template-rendered per enrollment group and therefore varies (e.g. MQTT broker connection parameters, NATS endpoints). Treat the body as an opaque JSON object whose schema is defined by the deployment.

Authorizations:
EstBasicAuth

Responses

Response samples

Content type
application/json
{
  • "mqtt": {
    },
  • "topics": {
    },
  • "_note": "Illustrative only — the actual shape is defined by the enrollment group's response template."
}

Est

RFC 7030 EST endpoints — CA distribution, server-side keygen, and CSR-based enroll/renew.

cacerts

RFC 7030 §4.1 — returns the platform CA chain as PKCS#7 or PEM per the enrollment group's format setting. The optional device_id selects the chain for the device's routing target; an unknown device id returns the default signer's chain.

query Parameters
device_id
string

Optional device id to scope the returned CA chain and format.

Responses

serverkeygen

RFC 7030 §4.4 — server-side key generation (initial enrollment or Tier 2 renewal). The same route serves initial enrollment (HTTP Basic Auth, device_id:secret) and Tier 2 mTLS-authenticated renewal (device presents its current operational certificate). Returns multipart/mixed (PKCS#7 cert + PKCS#8 key) in both cases — Tier 2 devices cannot generate keys on-chip, so the server emits the keypair on each issuance.

Authorizations:
EstBasicAuthEstMtls

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "retry_after_seconds": 0
}

simpleenroll

RFC 7030 §4.2.1 — Tier 3 initial enrollment with a CSR. Device presents its birth certificate at mTLS and submits a PKCS#10 CSR; response is PKCS#7 or PEM per the group's certificate format (certs-only; no private key). Body may be raw DER or base64-encoded (Content-Transfer-Encoding: base64).

Authorizations:
EstMtls
Request Body schema: application/pkcs10
required

PKCS#10 certificate signing request, DER or base64 (RFC 7030 §4.2.1).

string <binary>

Responses

Response samples

Content type
application/json
{
  • "error": "malformed_csr_body"
}

simplereenroll

RFC 7030 §4.2.2 — Tier 3 mTLS-authenticated renewal with a CSR. Device presents its current operational certificate at mTLS and submits a PKCS#10 CSR for a freshly generated on-chip keypair; response is PKCS#7 certs-only (no private key — the device holds it). The device is resolved by the presenting cert's CN.

Authorizations:
EstMtls
Request Body schema: application/pkcs10
required

PKCS#10 certificate signing request, DER or base64 (RFC 7030 §4.2.1).

string <binary>

Responses

Response samples

Content type
application/json
{
  • "error": "malformed_csr_body"
}