Skip to main content

Beacon Tower API

Welcome to the Beacon Tower API documentation. Our API provides programmatic access to all platform features.

Authentication​

All API requests require authentication using a Bearer token. Include your token in the Authorization header:

curl -H "Authorization: Bearer $TOKEN" \
https://api.beacontower.ai/v1/devices

Getting a Token​

Obtain a token through the standard OAuth 2.0 / OIDC flow configured for your tenant. See the Authentication guide for details.

Base URL​

All API endpoints are relative to:

https://api.beacontower.ai/v1

Rate Limiting​

The gateway limits how many requests a caller can make. Limits apply per caller, not per account tier:

  • With a valid token, the caller is the token's client and subject (azp and sub claims).
  • Without a valid token, the caller is the client IP address.

Each request falls under one policy, chosen by its path. The policies and their current limits are listed in Rate limit policies. Requests over the limit get 429 Too Many Requests:

HTTP/1.1 429 Too Many Requests
Retry-After: 7
RateLimit-Policy: "authenticated-default";q=100;w=10
RateLimit: "authenticated-default";r=0;t=7
X-Trace-Id: 4bf92f3577b34da6a3ce929d0e0e4736
Content-Type: application/problem+json

{
"type": "https://developer.beacontower.ai/docs/api/intro#rate-limiting",
"title": "Too many requests",
"status": 429,
"detail": "Rate limit 'authenticated-default' exceeded. Retry after 7 seconds.",
"policy": "authenticated-default",
"retryAfterSeconds": 7,
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
"requestId": "..."
}
  • Retry-After is the number of seconds to wait. Always present on a 429.
  • RateLimit-Policy and RateLimit follow the IETF draft RateLimit header fields for HTTP: q is the quota, w the window in seconds, r the remaining quota (0 on a 429), t seconds until the next quota.
  • Successful responses carry no rate limit headers.
  • traceId identifies the request in our logs. Send it to support when you ask about a 429.

See Handle rate limits for how a client should react.

Response Format​

All responses are in JSON format. Successful requests return a 2xx status code. Errors return appropriate 4xx or 5xx codes with details:

{
"error": "NotFound",
"message": "Device not found",
"details": {
"deviceId": "123e4567-e89b-12d3-a456-426614174000"
}
}

API Reference​

View the complete API Reference for detailed endpoint documentation.

Support​

Need help? Contact us: