docs.zenspace.io
  1. Messaging
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
      • Create device sensors
      • Create or update admin unlock codes
      • Upload meeting space screenshot
    • Authentication
      • Create authorization token
    • Messaging
      • Send message to Android device
        POST
    • Booking
      • Send meeting space state by booking ID
      • Create or update booking
  1. Messaging

Send message to Android device

POST
/meetingspace/send_msg
Messaging
Last modified:2025-05-29 13:03:16
x-internal-usage:true
Send any specific message to Android device. device_id is mandatory
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/meetingspace/send_msg' \
--header 'Content-Type: application/json' \
--data-raw '{
    "meeting_space_id": "5d1a99fd-4359-44ab-a61b-b5b0fe016ca9",
    "state": "not-available",
    "name": "5d1a99fd-4359-44ab-a61b-b5b0fe016ca9-2025-03-05-18-00-00-00-00",
    "device_id": "5633cbabce114af4",
    "customer_id": "1ecff66f-c0fe-443c-9062-68750a0af93b"
}'

Request

Body Params application/json
meeting_space_id
string <uuid>
optional
Example:
5d1a99fd-4359-44ab-a61b-b5b0fe016ca9
state
string 
optional
Example:
not-available
name
string 
optional
Example:
5d1a99fd-4359-44ab-a61b-b5b0fe016ca9-2025-03-05-18-00-00-00-00
device_id
string 
required
Example:
5633cbabce114af4
customer_id
string <uuid>
required
Example:
1ecff66f-c0fe-443c-9062-68750a0af93b
Examples

Responses

🟢200OK
Message sent successfully
This response does not have a body.
Previous
Create authorization token
Next
Send meeting space state by booking ID
Built with