docs.zenspace.io
  1. Device Management
docs.zenspace.io
  • 🧭 Introduction
  • 🧱 System Components
  • 🧰 Tech Stack
  • 🏗️ System Architecture
  • 🌐 Deployment Architecture
  • 🗄️ Database Design Documentation
  • API Endpoints
    • RaspberryPi
      • Heartbeat API
      • Retrieve all active sensors and device permissions
      • Control a device (e.g., turn on/off, adjust intensity)
      • Enable or disable a device
      • Register a meeting space ID and retrieve network details
    • Meeting Space
      • Schedule meeting space state
      • Get meeting spaces by customer
      • Get meeting space state by ID
      • Get meeting space state by device ID
      • Disable meeting space state
      • Send meeting space state by meeting space ID
      • Store meeting space availability
      • Create Google Calendar
    • Device Management
      • Create device
        POST
      • Create device sensors
        POST
      • Create or update admin unlock codes
        POST
      • Upload meeting space screenshot
        POST
    • Authentication
      • Create authorization token
    • Messaging
      • Send message to Android device
    • Booking
      • Send meeting space state by booking ID
      • Create or update booking
  1. Device Management

Create or update admin unlock codes

POST
/meetingspace/admin_unlock_codes
Device Management
Last modified:2025-05-29 13:03:16
x-internal-usage:true
Create or update the admin codes specific to device (meeting room display) associated with specific meeting room
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/meetingspace/admin_unlock_codes' \
--header 'Content-Type: application/json' \
--data-raw '{
    "device_id": "123456890qwerty",
    "customer_id": "c3990419-7111-4d2d-9f49-723d56bfdf0e",
    "admin_codes": "4567er,890ujik"
}'
Response Response Example
{
    "message": "admin codes sent"
}

Request

Body Params application/json
device_id
string 
required
Example:
123456890qwerty
customer_id
string <uuid>
required
Example:
c3990419-7111-4d2d-9f49-723d56bfdf0e
admin_codes
string 
required
Example:
4567er,890ujik
Examples

Responses

🟢200OK
application/json
Admin codes sent successfully
Body
message
string 
optional
Example:
admin codes sent
Previous
Create device sensors
Next
Upload meeting space screenshot
Built with