User member of groups list

Brief description:

  • Retrieve all groups a user is a member of via API

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
guid Yes integer User GUID

Example Response

{
    "merchant": "Open Source Social Network",
    "url": "http:\/\/www.mywebsite.com\/",
    "time_token": 1569328753,
    "payload": {
        "groups": [
            {
                "data": {},
                "guid": "7",
                "time_created": "1568224071",
                "owner_guid": "2",
                "description": "New group about",
                "title": "Test Group",
                "type": "user",
                "subtype": "ossngroup",
                "membership": "1",
                "file:cover": "cover\/34a90cd7181716160fe5751a3862167b.jpg",
                "cover": "[\"-329\",\"0\"]",
                "coverurl": "http:\/\/www.mywebsite.com\/groups\/cover\/214\/34a90cd7181716160fe5751a3862167b.jpg"
            }
        ]
    },
    "code": "100",
    "message": "Request successfully executed"
}

Return payload parameter description

Parameter name Explain
groups Contain array of groups, if no group then it will be null or false

Services View All