List all groups for an organization, including external service and ID information.
cURL
curl --request GET \ --url https://public.api.serval.com/v1/groups \ --header 'Authorization: Bearer <token>'
{ "groups": [ { "id": "<string>", "name": "<string>", "externalSource": { "type": "<string>", "service": "<string>", "externalId": "<string>", "appInstanceId": "<string>" } } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type object.
object