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.
openapi: 3.2.0
info:
title: Bm E Industrie Com Zones API
version: 1.0.0
contact:
name: BM INDUSTRIE SARL Support
email: support@bm-e-industrie.com
description: 'Operations tagged Zones across 2 of this provider''s published API definitions: bm-e-industrie-com-track-openapi.json, bm-e-industrie-com-track-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://tracker.bm-e-industrie.com
description: Production
security:
- apiKey: []
tags:
- name: Zones
paths:
/api/v1/zones:
get:
tags:
- Zones
operationId: listZones
summary: The zones this key may draw
description: 'Requires the `devices:read` ability and a plan with geofences.
Read-only, and that asymmetry with the app surface is the decision rather than an omission: a zone has exactly one correct boundary, and a machine key with no person behind it is the wrong third writer of it. Whoever owns the zone owns it in BMI Track.
The geometry is flattened: a circle carries `lat`, `lng` and `radius`, a polygon carries `ring`. `type` is echoed alongside so a backend has something to log when a zone stops drawing.
An app-scoped key sees the zones touching at least one device it can already see. A zone attached to no device is not part of that app''s map.'
responses:
'200':
description: Every zone in scope, by name.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
uuid:
type: string
format: uuid
name:
type: string
type:
type: string
enum:
- circle
- polygon
devices:
type: array
items:
type: string
format: uuid
lat:
type: number
nullable: true
lng:
type: number
nullable: true
radius:
type: number
nullable: true
description: Metres. Circles only.
ring:
type: array
description: 'Polygons only: the boundary, in order.'
items:
type: array
items:
type: number
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://tracker.bm-e-industrie.com
description: Production
components:
schemas:
Error:
type: object
properties:
message:
type: string
description: Human-readable explanation. Safe to log; never contains a key.
errors:
type: object
description: 'Present only on field validation failures: field name → list of messages.'
additionalProperties:
type: array
items:
type: string
required:
- message
responses:
RateLimited:
description: Per-key rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Limit:
description: Requests allowed per minute for this key.
schema:
type: integer
Forbidden:
description: The key is revoked or expired, or lacks the ability this endpoint needs (`devices:read`, `devices:write`, `positions:read`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: The key is missing or unknown.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
description: 'Your API key, e.g. `bmk_live_...`. It is shown once when created and stored hashed, so it cannot be recovered afterwards — issue a new one instead. `Authorization: Bearer <key>` is accepted as an alternative for clients that cannot set custom headers.'
appUser:
type: http
scheme: bearer
description: 'A personal access token from `POST /api/v1/auth/login`, sent as `Authorization: Bearer <token>`. It identifies one user, and what it may do is the intersection of the token''s own abilities and that user''s current role — so changing someone''s role takes effect on their next request, with no need to revoke anything.'
x-refined-from:
- bm-e-industrie-com-track-openapi.json
- bm-e-industrie-com-track-openapi.yml