Get Started
Portal api methods
Help

GET api/2.0/group/user/{userid} This function requires authentication

Description

Returns the group list for user

Parameters
Name Description Type Example
userid
sent in url
User ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Remark

That method returns user groups

Example
GET api/2.0/group/user/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Group

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "Group Name",
      "manager": "Jake.Zazhitski"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>00000000-0000-0000-0000-000000000000</id>
    <name>Group Name</name>
    <manager>Jake.Zazhitski</manager>
  </response>
</result>