API access for developers (Personal Access Token)
This article is aimed at developers and hardware manufacturers who want to connect devices directly through the bee-pilot.io API.
Creating a Personal Access Token
Under Settings → Developer, you can create a Personal Access Token (PAT). Give it a name and, optionally, an expiry date. The token’s value is shown only once, at creation — copy it immediately, since it can’t be viewed again afterwards.
The four-step flow
- Create a PAT — as described above.
- Register the device — use the PAT to register the device with bee-pilot.io via the API.
- Hand over the claim code — registration returns a claim code, which you pass on to the beekeeper or use yourself to claim the device as described in the other hardware articles.
- Device sends data — from this point on, the device can send readings to bee-pilot.io via the API.
Technical reference
You’ll find endpoints, sample requests, and curl examples in the API documentation, reachable directly from the developer area under Settings → Developer.