GET
/
v1
/
user
/
groups
Get current user groups
curl --request GET \
  --url https://staging.api.us.aptlydone.com/auth/v1/user/groups \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-25T06:16:48.664Z",
  "message": "Success",
  "data": [
    {
      "id": "0babd381-2af5-4bf7-ac1c-0230f25cf088",
      "tenantId": "1eb866a0-2a81-4d3f-9831-6b4e9f4e633d",
      "userId": "0e1b099f-2e52-4307-8860-89314ef97dbb",
      "groupId": "3cad0e27-f8f0-4a96-9bbb-1fae4f9fb04f",
      "groupTypeId": "9a366bfc-7810-4d0f-a482-ed0cd09c6c15",
      "groupName": "Engineering Team",
      "groupTypeName": "Department",
      "isPrimaryOrg": false,
      "primaryOrgSetOn": "2025-06-24T11:18:20.853Z",
      "autoProvisioned": true,
      "isDeleted": true,
      "deletedOn": "2025-05-17T06:57:51.956Z",
      "createdOn": "2025-06-24T10:25:28.539Z",
      "updatedOn": "2025-06-24T21:38:00.944Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

User groups retrieved successfully

The response is of type object.