Connect, control, and automate your smart devices with our powerful RESTful API. Build amazing IoT applications with ease.
🚀 Get Started with API KeyEverything you need to build powerful IoT applications and integrate smart devices seamlessly.
Simple RESTful API that works with any programming language. Get up and running in minutes with our comprehensive documentation.
Enterprise-grade security with API key authentication. Your devices and data are protected with industry-standard encryption.
Control your smart devices in real-time with low latency responses. Perfect for automation and monitoring applications.
Access comprehensive device data including status, sensor readings, and historical information for analytics.
Easily manage multiple devices, organize them by rooms and homes, and control access permissions.
Works seamlessly across web, mobile, and desktop applications. Build once, deploy everywhere.
Comprehensive guides and references to help you integrate quickly and efficiently.
Complete API reference with examples, endpoints, and integration guides for the Onwords Gate Control API.
View Full Documentation →Learn the basics of authentication, making your first API call, and understanding responses.
Read Guide →Complete reference for all available endpoints, parameters, and response formats with examples.
View Reference →Ready-to-use code examples and integration samples for quick implementation.
Browse Examples →Get started with just a few lines of code. Our API is designed to be intuitive and developer-friendly.
🔑 Get Your API Key# Import requests library
import requests
# Your API configuration
API_KEY = "your_api_key_here"
# Base URL
BASE_URL = "ostapi.onwords.in/"
# device_action
def device_action(product_id, action):
headers = {
"api-key": API_KEY,
}
data = {
"product_id": product_id,
"action": action,
}
response = requests.post(f"{BASE_URL}",json=data,
headers=headers)
return response.json()
# Control device
status = device_action("device_123, open_gate")
Join thousands of developers building amazing IoT applications with Onwords API.