Represents a group or an event.

Main fields

These are always returned.

id
integer (positive)

Unique (within the server) identifier for this group.

name
string

The name of this group or event.

deactivated
enum

For restricted groups, their restriction status. If this is set, none of the optional fields will be returned.

  • banned – The group is suspended.
  • deleted – The group was deleted by its creator.
  • hidden – The server staff made this group only visible to authenticated users.
ap_id
string

Globally unique ActivityPub identifier for this group. Use this to match groups across servers.

access_type
enum

Determines how new members can join this group and what is visible to non-members.

  • closed – Anyone can see the group’s profile, and new members are manually approved by the group managers or invited by existing members. Only members can see the content. For groups only.
  • open – This is an open group or event, anyone can join.
  • private – Only members can see this group or event. Only managers can invite new members, and the only way to join is by invitation.
type
enum

The type of this community.

Possible values: group, event.

Optional fields

Unless otherwise noted, request these by passing them in fields to any method that returns group objects.

domain
string

For a group from a remote server, the domain of its home server.

screen_name
string

The profile URL a.k.a. the username. If the community doesn’t have one set, defaults to clubXXX for groups and eventXXX for events.

status
string

The status string, the one that’s displayed under the group’s name on the web.

url
string

The URL of this group’s profile page on the web. For remote groups, this points to its home server.

is_admin
boolean

Whether the current user can manage this group.

admin_level
enum

The privilege level of the current user, if is_admin is true.

Possible values: moderator, admin, owner.

is_member
boolean

Whether the current user is a member of this group.

photo_50
string

URL of a square 50x50 version of the profile picture.

photo_100
string

URL of a square 100x100 version of the profile picture.

photo_200
string

URL of a square 200x200 version of the profile picture.

photo_400
string

URL of a square 400x400 version of the profile picture.

photo_200_orig
string

URL of a rectangular 200px wide version of the profile picture.

photo_400_orig
string

URL of a rectangular 400px wide version of the profile picture.

photo_id
string

If this group has a “profile pictures” system photo album, ID of the photo used for the current profile picture in that album.

can_create_topic
boolean

Whether the current user can create new discussion board topics in this group.

can_post
boolean

Whether the current user can create new posts on this group’s wall.

management
array of objects

Information about users who manage this group. Only returned when a single group is requested.

user_id
integer (positive)

User identifier.

description
string

Description to be shown alongside the name.

counters
object

Information about how many of each of the types of content there are in this group. Only returned when a single group is requested.

photos
integer (non-negative)

How many photos there are in the group.

albums
integer (non-negative)

How many photo albums there are in the group.

topics
integer (non-negative)

How many topics there are in the group’s discussion board.

description
string

The description text of this group, as HTML.

has_photo
boolean

Whether this group has a profile picture.

is_favorite
boolean

Whether this group is in the current user’s bookmarks. Requires the likes:read permission.

links
array of objects

Information from the “Links” block in this group. Only returned when a single group is requested.

id
integer

Identifier of this link.

url
string

The URL of this link.

name
string

The title of this link.

description
string

The description of this link.

photo_50
string

50x50 preview image URL.

photo_100
string

100x100 preview image URL.

photo_200
string

200x200 preview image URL.

object_type
enum

If this link points to an object, the type of that object.

Possible values: user, group, post, photo, photo_album, topic.

object_id
string

If this link points to an object, the identifier of that object.

member_status
enum

The membership status of the current user in this group.

  • invited – A friend invited this user to this group.
  • member – This user is a member of this group.
  • none – This user is not a member of this group.
  • requested – This user has requested to join this group, but the request hasn’t yet been reviewed by the management.
  • tentative – This user is not sure that they will attend this event.
place
string

The name of the place and/or address where this event will take place.

site
string

The website URL from the group’s profile.

start_date
integer

The unixtime when the event starts.

finish_date
integer

The unixtime when the event ends.