Return list of groups
Lists the groups available to the caller, including archived ones by default; set the include_archived_groups query parameter to false to exclude them. Use it for full group details; use GET /teams when you only need a lightweight list, and GET /groups/{group_id} when you already know which group you want.
Token scopes: groups:read
Authentication
Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Query parameters
The maximum number of groups to return (between 1 and 100)
Sort the results in ascending (ASC) or descending (DESC) order based on the group name.
Include archived groups (soft deleted records). Defaults to true.