SenseCAP API Documentation
  • Note:The SenseCAP API document has been addressed differently!
  • HTTP API
    • HTTP API Quickstart
    • HTTP API Access Guide
    • HTTP API Reference
      • Group Management API-V1
      • Device Management API-V1
      • Device Data API-V1
  • Data OpenStream API
    • Data OpenStream API Quickstart
    • Data OpenStream API Reference
  • Appendix
    • List of Sensor Types
    • List of Measurement IDs
Powered by GitBook
On this page
  • Prerequisite
  • Get an Access Key
  • Get all the Deivice EUIs

Was this helpful?

  1. HTTP API

HTTP API Quickstart

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

PreviousNote:The SenseCAP API document has been addressed differently!NextHTTP API Access Guide

Last updated 5 years ago

Was this helpful?

Prerequisite

You should have your SenseCAP account from SenseCAP sales, and make sure you can login the SenseCAP Web Portal .

Get an Access Key

  1. Login the SenseCAP Web Portal

  2. Navigate to "Organization/Security Credentials"

  3. Click "Create access key"

  4. Set down the Access ID and Access Key

Get all the Deivice EUIs

In this quickstart, we will use curl to issue HTTP requests. The example below calls an API to retrieve all the device EUIs belonging to you.

curl --user "<access_id>:<access_key>" \
     https://sensecap-openapi.seeed.cc/1.0/lists/devices/eui

You should replace <access_id> and <access_key> with the one you got before. The command will output like the following

{
  "code": "0",
  "data": {
    "gateway": [
      "2CF7F1121130003F",
      "2CF7F1100470001A"
    ],
    "node": [
      "2CF7F12210400031",
      "2CF7F12210400005",
      "2CF7F12210400023"
    ]
  },
  "time": 0.314
}
https://sensecap.seeed.cc
https://sensecap.seeed.cc