Get Things Group List

This guide will show you how you can receive a list of your Thing Groups via an API command.

Get Thing Group List

GET https://console.monogoto.io/thingsgroup/listWithMeasures

Headers

Name
Type
Description

YOUR_TOKEN*

String

Your authentication token

CUSTOMER_ID

String

Customer API key

{
    // Response
}

Example using cURL:

curl -X GET \
    --url "https://console.monogoto.io/thingsgroup/listWithMeasures" \
    -H "accept: application/json" \
    -H "Authorization: Bearer {YOUR_TOKEN}" \
    -H "apikey: {CUSTOMER_ID}" 

Add your Token and Customer ID in the GET request to successfully obtain the Things Group data.

Example of request:

curl -X GET \
    --url "https://console.monogoto.io/thingsgroup/listWithMeasures" \
    -H "accept: application/json" \
    -H "Authorization: Bearer eyJhb6IkpXVCJ9.eyJSb2xlIjoiVXN4lclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYWN3NzhhMGQxYmbSI6Im4zgFkbWluIiwiQ3VzdG9tsbCwiVXNlcklkIjoiVklkXzg5Yj5Y2OGEyUtNDQThhLTEzZjA0MzJhZDE3YyINTAzgZmUtZGI51My00ZjRiLTktN2U5Yjc0ZWU1ZThlIiwiaWNzM3MjI5L2MDY3NTE2Mjl9.99aSLzP7kTgK6TZGW-xalrMu0GkW6viunt3XxbNng" \
    -H "apikey: cid_ecs1d3a5-f5e62a1-fe8af468wf"

Expected result:

Last updated

Was this helpful?