GET /groups/:id
Fetches a group with the specified id
. This id
is the one returned by Invisible Collector when creating a group.
This request is idempotent.
curl -XGET \
--header "Content-Type: application/json" \
--header "Authorization: Bearer 4b1e8df2ff50110ca86e28f2b499facbd78310c9cda0125543ad80ac70cc28d1" \
https://api.invisiblecollector.com/groups/123456
This request will return, for example, the following JSON response:
{
"id": "234123543",
"name": "new group name"
}
Endpoint
GET https://api.invisiblecollector.com/groups/:id
Response body
Group
Attribute | Type | Description |
---|---|---|
id | string | An unique identifier of this group |
name | string | The name of the group |
Errors
This endpoint may return the following errors:
HTTP Code | Description |
---|---|
401 Unauthorized | Invalid credentials were supplied |
404 Not Found | The group was not found. |