GET /groups

Fetches all groups from the target company.

curl -XGET \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer 4b1e8df2ff50110ca86e28f2b499facbd78310c9cda0125543ad80ac70cc28d1" \
  https://api.invisiblecollector.com/groups

This request will return, for example, the following JSON response:

[
  {
    "id": "234123543",
    "name": "new group name"
  }
]

Endpoint

GET https://api.invisiblecollector.com/groups

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.