HTTP API Quickstart
Prerequisite
if you do not have an account, please register for the SenseCAP Portal.
note
LoRaWAN devices are used with Global Station
Get an Access Key
- Login the SenseCAP Portal.
- Navigate to “Security/Access API keys”
- Click “Create Access Key”
- Click “API ID”, and get the “API ID” and “Access API keys” after entering the password.
Get all the Device Groups
Use curl to make an HTTP request.The following example calls the API to get all the Device Groups under the account.
- username = API ID
- password = Access API keys
curl --user "username":"password" \ https://sensecap.seeed.cc/openapi/list_groups
You should replace and with the one you got before. The command will output like the following
{
"code": "0",
"data": [
{
"group_name": "Default",
"group_uuid": ""
},
{
"group_name": "test group",
"group_uuid": "80523B280630E611"
},
{
"group_name": "demo",
"group_uuid": "EBAD5387C4FC8711"
}
]
}
Tech Support & Product Discussion
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.