Create a visitor passcode
A guest calls your unit and enters a 4 digit code when prompted.
curl -X POST https://api.buzzerapi.com/v1/buildings/BUILDING_ID/unlock \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: guest-passcode-001" \
-H "Content-Type: application/json" \
-d '{"type":"passcode","enabled":true,"access_code":"2580","expires_in_minutes":60,"remaining_uses":1,"label":"Guest"}'