Returns the group invitations for the current user.

This method requires the following permissions: groups.

Parameters

type
enum

Whether to return invitations to groups or to events.

Possible values: groups, events.

By default groups.

offset
integer (non-negative)

Offset into the inviation list for pagination.

count
integer (1..500)

How many groups to return.

By default 20.

extended
boolean

Whether to also return users that sent the invitations.

fields
string

Comma-separated list of group profile fields to return.

If extended is true, also user profile fields for the inviters.

Result

A paginated list of group objects with an invited_by extra field containing the identifier of the user that sent this invitation.

If extended is true, the response will also contain profiles with an array of user objects.

Errors

Global errors may occur when calling this method.