IoT APIs for dynamic authentication, device management, and stock monitoring. This specification includes detailed summaries and descriptions for every operation, parameter, request/response body, and schema so clients can integrate without reading code. Examples and field-level constraints (formats, patterns, and valid values) are provided wherever applicable.
- Dynamic auth login
IoT APIs (1.0.0)
Request
Create a new dynamic authentication registration for a device. Typically called during device onboarding or when associating a device with a stock for monitoring. Persists machine metadata, stock details, and contact number used for downstream verification and notifications.
Machine metadata and stock details for registration. All fields are required and validated for format/patterns (see schema for constraints).
Unique identifier for the machine. Allowed characters: letters, numbers, dot, hyphen, underscore.
Name or code of the stock associated with the device (case-insensitive).
Total price string for the stock (supports comma-separated thousands and up to 2 decimals). Example formats: 200.00, 2,000.00.
Current market price as a string (same formatting rules as totalPrice).
- Mock serverhttps://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/register
- Development server.https://dev.api.ivalt.com/admin/public/api/dynamic_auth/register
- Production server.https://api.ivalt.com/admin/public/api/dynamic_auth/register
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/register \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"machineId": "MACHINE-001",
"stockName": "ANDROID",
"totalPrice": "200.00",
"currentStockPrice": "150.00",
"machineName": "Testing-2",
"mobile": "+917837582588"
}'{ "status": "success", "message": "Device registered successfully" }
Machine identifier and stock context for login. All properties must match the registration state for the device.
Total price string (supports commas and up to 2 decimals).
- Mock serverhttps://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/login
- Development server.https://dev.api.ivalt.com/admin/public/api/dynamic_auth/login
- Production server.https://api.ivalt.com/admin/public/api/dynamic_auth/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/login \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"machineId": "MACHINE-001",
"stockName": "ANDROID",
"totalPrice": "200.00",
"currentStockPrice": "150.00"
}'{ "status": "success", "message": "Login successful" }
Payload containing the machine identifier to be verified. Note: this endpoint expects machine_id (snake_case).
- Mock serverhttps://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/verify
- Development server.https://dev.api.ivalt.com/admin/public/api/dynamic_auth/verify
- Production server.https://api.ivalt.com/admin/public/api/dynamic_auth/verify
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/dynamic_auth/verify \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"machine_id": "MACHINE-001"
}'{ "status": "success", "message": "Verification successful" }
- Mock serverhttps://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/get/stock-price/{Symbol}
- Development server.https://dev.api.ivalt.com/admin/public/api/get/stock-price/{Symbol}
- Production server.https://api.ivalt.com/admin/public/api/get/stock-price/{Symbol}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-docs.ivalt.com/_mock/products/iot-device/iot_apis/get/stock-price/IBM \
-H 'Accept: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE'{ "status": "success", "message": "Stock price fetched successfully", "data": { "stockName": "BSE Ltd", "stockPrice": "2,162.50", "stockExchangeName": "BSE:National Stock Exchange of India" } }