# How to find a Group ID

**URL:** https://forum.bondhome.io/t/how-to-find-a-group-id/4530
**Category:** Integrations
**Created:** [March 21, 2024, 9:29pm UTC](https://forum.bondhome.io/t/how-to-find-a-group-id/4530 "2024-03-21T21:29:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jaredlgreen](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jaredlgreen](https://forum.bondhome.io/u/jaredlgreen)
#### Post date: [March 21, 2024, 9:29pm UTC](https://forum.bondhome.io/t/how-to-find-a-group-id/4530/1 "2024-03-21T21:29:06Z")

</div>

Greetings… I have successfully deployed a Bond Bridge Pro with a Savant System. I’m controlling some new Inception Shades with the Bond Bridge, however Savant sends commands to each shade individually and not as a Group so everything is out of synch. Savant Tech supports feels like if we can obtain a Group ID from the Bond Bridge for the shades, Savant will control the group (which is perfectly synched via the Bond App Control).

Bond Support gave me some curl commands to try and query the device for Group ID’s but it didn’t work. Any ideas?

The following is the command I tried in Terminal to find the Group ID I need:

curl [http://192.168.0.38/v2/groups](http://192.168.0.38/v2/groups)

Any help is appreciated…

Jared Green

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [March 22, 2024, 1:15am UTC](https://forum.bondhome.io/t/how-to-find-a-group-id/4530/2 "2024-03-22T01:15:38Z")

</div>

> [@jaredlgreen](#):
>
> the command I tried in Terminal

Hey Jared!

That looks like the [correct command based on the specs](https://docs-local.appbond.com/#section/Groups-and-Scenes/Discovery), but it needs the header Auth Token as well (seen in your Bond app).  
Maybe you had that piece in your Terminal command, but I didn’t want to assume one way or another.

> curl -H “BOND-Token: xxxxxxxxxxxxxxxx” -i [http://192.168.0.38/v2/groups](http://192.168.0.38/v2/groups)

In any case, what kind of error are you getting?

I checked today with a group I made a long time ago, for two ceiling fans rather than blinds, and data was being returned as I would expect:

```auto
curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://n.n.n.n/v2/groups/
	HTTP/1.1 200 OK
	Connection: close
	BOND-Flags: 4
	Content-Length: 70
	Content-Type: application/json; charset=utf-8

	{"_":"eb0fd23b","__":"00000000","9b8003ba759fb452":{"_":"7e1f3c95"}}

curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -i http://n.n.n.n/v2/groups/9b8003ba759fb452
	HTTP/1.1 200 OK
	Connection: close
	BOND-Flags: 4
	Content-Length: 399
	Content-Type: application/json; charset=utf-8

	{"__modified":1690290777,
	"name":"Great Room Fans",
	"actions":["DecreaseSpeed","IncreaseSpeed","SetSpeed","StartDimmer","Stop","ToggleLight","ToggleLightTemp","TogglePower","TurnLightOff","TurnLightOn","TurnOff","TurnOn"],
	"devices":["264eecc9"],
	"types":["CF"],
	"locations":["Living Room"],
	"_":"7e1f3c95","__":"a068c84a",
	"state":{"_":"e5b0986e"},
	"properties":{"_":"15623a18"},"skeds":{"_":"00000000"}}

```

---

<div class="post-metadata">

### Author: ![merck](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/merck/32/1238_2.png) [@merck](https://forum.bondhome.io/u/merck)
#### Post date: [March 22, 2024, 3:06pm UTC](https://forum.bondhome.io/t/how-to-find-a-group-id/4530/3 "2024-03-22T15:06:19Z")

</div>

Indeed the `-i` option is helpful to diagnose issues. It will show the HTTP status response.
