Page tree
Skip to end of metadata
Go to start of metadata


✔ To send downlinks via API you can use external applications like Postman or cURL


➜ Requirements:

a) API URL

b) Authentication: Bearer prefix + API key. 

c) Body: see examples


The token can be found in the API keys menu in the LORIOT user interface.


➜ 
Example using cURL:


curl --location --request POST 'https://eu1.loriot.io/1/rest' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer vgEADQAAAA9iY2dkdi5sb3Jpb3QuaW-ve6WTseo19HasKoGVQJSn' \
--header 'Content-Type: text/plain' \
--data-raw '{
"cmd": "tx",
"EUI": "BE7A000000000009",
"port": 33,
"confirmed": false,
"data": "0ffff0",
"appid": "BE01000D"
}'

 Entries in red should be updated with users data.


➜ Example using Postman: 





  • No labels