Last active
September 3, 2025 14:04
-
-
Save arevindh/253302628ad10eed8126a820c2ecdaec to your computer and use it in GitHub Desktop.
Tinxy_Open_APIs https://tinxyapi.pages.dev/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "32c262fa-7384-4477-a610-cde252c8829e", | |
| "name": "Tinxy Open APIs", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Device State", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "Authorization", | |
| "value": "Bearer 60fe161c60687be22a0a1b5806724bfb5e7a1c18" | |
| }, | |
| { | |
| "key": "", | |
| "value": "", | |
| "disabled": true | |
| } | |
| ], | |
| "url": { | |
| "raw": "https://backend.tinxy.in/v2/devices/6131bbacb1aba6001317ec1b/state?deviceNumber=1", | |
| "protocol": "https", | |
| "host": [ | |
| "backend", | |
| "tinxy", | |
| "in" | |
| ], | |
| "path": [ | |
| "v2", | |
| "devices", | |
| "6131bbacb1aba6001317ec1b", | |
| "state" | |
| ], | |
| "query": [ | |
| { | |
| "key": "deviceNumber", | |
| "value": "1" | |
| } | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Devices with userID", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Authorization", | |
| "value": "Bearer 8428a2f9645f86dbdf4902aaadf73767d88272a6", | |
| "type": "text" | |
| } | |
| ], | |
| "url": { | |
| "raw": "https://backend.tinxy.in/v2/devices/", | |
| "protocol": "https", | |
| "host": [ | |
| "backend", | |
| "tinxy", | |
| "in" | |
| ], | |
| "path": [ | |
| "v2", | |
| "devices", | |
| "" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Device Toggle", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "Authorization", | |
| "value": "Bearer 8428a2f9645f86dbdf4902aaadf73767d88272a6" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"request\": {\n\t\t\"state\": 1,\n \"brightness\": 0\n\t},\n \"deviceNumber\": 1\n}" | |
| }, | |
| "url": { | |
| "raw": "https://backend.tinxy.in/v2/devices/6107cad3ec41f400139e315d/toggle", | |
| "protocol": "https", | |
| "host": [ | |
| "backend", | |
| "tinxy", | |
| "in" | |
| ], | |
| "path": [ | |
| "v2", | |
| "devices", | |
| "6107cad3ec41f400139e315d", | |
| "toggle" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ] | |
| } |
Author
@uiyash just change the device number to 2
is there any api endpoint to trigger scenes?
Author
@akashks1998 not sure try asking on their forum https://forum.tinxy.in
Tinxy_Android_Integration.mp4
Can we unlock door lock with api ?
Author
Can we unlock door lock with api ?
Yes.
I am passing below request using postman.
{
"request": {
"state": 1,
"brightness": 0
},
"deviceNumber": 1
}
It is working fine for the light, but not for the door lock. Do we need to make any changes in the request for the door lock?
Hi @arevindh
?
Author
Hi @arevindh ?
Let me try contacting the tinxy contact person about this .
Sure
Author
@muhammadsiddique21 meanwhile can you try
/v2/devices/{id}/toggle
{
"request": {
"state": 1
},
"deviceNumber": 0
}
deviceNumber 0 or 1 not sure
states 0 / 1
Yes, It is working fine. Thanks @arevindh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


How to toggle on/off device with 2 relays