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 (
azpandsubclaims). - 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-Afteris the number of seconds to wait. Always present on a 429.RateLimit-PolicyandRateLimitfollow the IETF draft RateLimit header fields for HTTP:qis the quota,wthe window in seconds,rthe remaining quota (0 on a 429),tseconds until the next quota.- Successful responses carry no rate limit headers.
traceIdidentifies 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:
- Email: support@beacontower.ai
- Documentation: https://developer.beacontower.ai