In this quickstart we’re gonna show you how to make your first HTTP API call to SenseCAP HTTP API.


If you do not have an account, please register for the SenseCAP Portal.

Get an Access Key

  1. Login the SenseCAP Portal.
  2. Navigate to “Security/Access API keys”
  3. Click “Create Access Key”
  4. Click “API ID”, and get the “API ID” and “Access API keys” after entering the password.

Get all the Deivice 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>" \

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"