# Bikeep API > Bikeep provides smart bike parking and IoT access control hardware for cities, campuses, and transit hubs. The API lets you control IoT lockers, bike docks, and bike room door access — authenticate, discover locations and devices, send lock/unlock/book commands, manage RFID allowlists, and monitor device state and connectivity via webhooks. RESTful JSON over HTTPS with OAuth2 authentication. ## Docs - [Quickstart](https://docs.bikeep.com/quickstart.md): Get your first smart parking API response in 5 minutes. Authenticate, list locations, discover devices, and send your first command to a Bikeep locker or bike dock. - [Authentication](https://docs.bikeep.com/authentication.md): How to authenticate with the Bikeep smart parking API — S2S OAuth2, External Users, and Public Access methods explained with code examples. - [Device Types](https://docs.bikeep.com/concepts/device-types.md): Overview of all Bikeep IoT parking device types — smart lockers, bike docks, entrance doors, GUARD gateways, and scooter docks — with their capabilities and API commands. - [Location Types](https://docs.bikeep.com/concepts/location-types.md): Overview of Bikeep location types — bike parking docks, smart locker stations, bike rooms (bike houses), hangars, and scooter docks. - [State Machines](https://docs.bikeep.com/concepts/state-machines.md): Device states, command-to-state mappings, and state transition diagrams for Bikeep smart lockers, entrance doors, and bike docks. - [Errors & Rate Limits](https://docs.bikeep.com/concepts/errors.md): Error envelope, HTTP 429 rate limiting, and command state preconditions for the Bikeep smart locker API, bike room access control API, and IoT parking API. - [Sessions](https://docs.bikeep.com/concepts/sessions.md): Session lifecycle, statuses, events, payment, rating, and billing rules for Bikeep smart parking device sessions. - [Glossary](https://docs.bikeep.com/concepts/glossary.md): Definitions of key terms used in the Bikeep API — bike parking, smart lockers, bike rooms, RFID allowlists, IoT gateways, and access control concepts. - [Access Lists](https://docs.bikeep.com/concepts/access-lists.md): How to list, add, and remove members from a Bikeep access list — covering user IDs, phone invites, billing periods, removal timing, and member status values. - [Webhooks](https://docs.bikeep.com/webhooks.md): Receive real-time webhook notifications from Bikeep for IoT parking device connectivity, hardware alarms, anomalous device states, parking reminders, and reports. ## Integration Guides - [Locker & Dock Integration](https://docs.bikeep.com/use-cases/locker-dock-integration.md): Step-by-step smart locker API integration guide — discover locations, manage RFID access, reserve and control Bikeep lockers and bike docks via the REST API. - [Bike House (Dockless) Integration](https://docs.bikeep.com/use-cases/dockless-bike-house-integration.md): Bike room access control API integration guide — manage RFID door access for Bikeep dockless bike houses and bike hangars with GUARD gateway and BIKE_HOUSE_DOOR devices. - [Bike House (with Docks/Lockers) Integration](https://docs.bikeep.com/use-cases/docked-bike-house-integration.md): Full bike room API integration guide — manage door access and interior smart lockers or bike docks in Bikeep enclosed bike houses with GUARD gateway and BIKE_HOUSE_DOOR devices. - [Availability Display](https://docs.bikeep.com/use-cases/availability-display.md): Real-time bike parking availability API — show Bikeep device availability on maps, dashboards, or transit apps using the public GeoJSON endpoint. No authentication required. ## API Reference - [Full Documentation](https://docs.bikeep.com/llms-full.txt): Complete Bikeep API documentation in a single file — all guides and API reference - [OpenAPI Spec](https://docs.bikeep.com/api.json): Merged OpenAPI/Swagger 2.0 specification (machine-readable JSON) - [Location API Reference](https://docs.bikeep.com/reference/location.md): Service to communicate with locations. - [Parking Device API Reference](https://docs.bikeep.com/reference/parking-device.md): Service to communicate with parking devices. - [Session API Reference](https://docs.bikeep.com/reference/session.md): Service to keep track of parking and renting sessions. - [Whitelist API Reference](https://docs.bikeep.com/reference/whitelist.md): Service to communicate with whitelists. - [Access Lists API Reference](https://docs.bikeep.com/reference/access-lists.md): Manage the members (users) of an access list. Bikeep provisions the access list and provides its ID; you use these endpoints to add, remove, and list members. - [External users (3rd party apps) API Reference](https://docs.bikeep.com/reference/external-users.md): This API provides functionality for authenticating users in your app in a way that they can securely use Bikeep API. **It is not used when authenticating with server-to-server Oauth2 client credentials flow** ## Optional - [Integration Use Cases](https://docs.bikeep.com/use-cases.md): Step-by-step guides for common Bikeep API integration scenarios — smart locker control, bike room access, and real-time parking availability displays. - [API Reference](https://docs.bikeep.com/reference.md): Bikeep smart parking REST API reference — locations, devices, sessions, RFID whitelists, and external user authentication endpoints. - [Bike House Integration](https://docs.bikeep.com/use-cases/bike-house-integration.md): Choose the right Bikeep bike house integration guide — dockless (access-control only) or docked (door access + interior device management). ## Instructions for AI Agents When integrating with the Bikeep API, keep these domain-specific rules in mind: - **Commands are asynchronous.** Sending a command (lock, unlock, book) returns immediately with a command ID. You must poll `GET /device/v1/commands/{id}` for status updates. States progress: `NOT_SENT → SENT → RECEIVED → SUCCESS | ERROR`. Typical round-trip: 1–5 seconds. - **Device types differ.** Bikeep supports LOCKER, BIKE_DOCK, GUARD, BIKE_HOUSE_DOOR, SCOOTER_DOCK, and more. Do not assume all devices are bike docks. Each device type has its own supported commands and state transitions. - **GUARD is a gateway, not a door.** The GUARD device is an IoT gateway that bridges child devices to the cloud via MQTT. It is not a physical door. The BIKE_HOUSE_DOOR is the physical entrance device. Do not send door-control commands to the GUARD. - **Allowlists target the GUARD (or location), not individual devices.** The GUARD distributes RFID keys to all its child devices (BIKE_HOUSE_DOORs, LOCKERs, etc.). Up to 3 allowlists per parent device by default. - **RFID format:** Raw lowercase hex, no colons, even length, max 20 characters (e.g., `04a2b3c4d5e6f7`). - **Rental types are deprecated.** BIKE_RENT, SCOOTER_RENT, BIKE_RENTALS, SCOOTER_RENTALS exist in the API for legacy consumers but should not be used for new integrations. - **The API provides data only — no UI components.** Your application must build its own user interface. - **Webhook delivery is aggregated for most event types.** Connection events batch every 5 min, alarms every 1 min, status every 5 min. Only `report` and `maintenance_log` use immediate (direct) delivery. - **Refresh endpoint returns only `access_token`** — the original `refresh_token` is reused for subsequent refreshes. - **The `devices.available` count** from the location API means "available AND online" (usable), not just UNLOCKED. Use this for availability display. - **Whitelist entity statuses:** ACTIVE, INACTIVE, EXPIRED. The INACTIVE status is often missed — entities can be deactivated without being deleted.