Skip to content

Group

Groups are non-academic versions of course sections; they can hold members, events, documents, etc.

Field Name Description Type
id Schoology Group ID The internal Schoology ID of the group string
building_id Schoology School Building ID The internal Schoology ID of the school building to which the group belongs string
school_id Schoology School ID The internal Schoology ID of the school to which the group belongs string
title* Group Title The title of the group string
description Description The group description string
picture_url Picture The URL of the group’s profile picture string
website Website The group website string
access_code Access Code The access code that users can use to join the group (only admins can see this value). string
privacy_level Privacy level The privacy of the group.
_ everyone: All schoology users can see the group.
_ school (default): Only members of the school can see the group
_ building: Only members of the building can see the group
_ group: Only group members can see the group
* custom: Custom privacy settings (read only; not supported in POST/PUT)
{everyone, school, building, group}
category Category The category of the group (see below on how to retrieve a list of available categories) string
options/invite_type Invite Type How members can join the group.
_ 0 (default): Invite only
_ 1: Request to join
* 2: Anyone can join
{0-2}
options/member_post Post a group update Whether or not a group member can post a group update (default 1) {0,1}
options/member_post_comment Post a comment on a group update Whether or not a group member can post comments to group updates (default 1) {0,1}
options/create_discussion Create a discussion thread Whether or not a group member can create a discussion thread (default 0) {0,1}
options/create_files Create files Whether or not members can create resources for the group (default 0) {0,1}
group_code Group Code (external ID) If the group was imported from another system into Schoology, the unique ID of that group in the other system. string

* = Required

View a list of groups in your school (paged). You can use the following parameters to filter the resultset:

  • building_id: return only groups for the given building_id.

Return A list of groups.

{
"group": [
{
"id": "5604383",
"title": "Google News group",
"description": "Google News group",
"website": "",
"access_code": "H2QSM-CJPXD",
"category": "",
"options": {
"member_post": 1,
"member_post_comment": 1,
"create_discussion": 1,
"create_files": 0,
"invite_type": 0
},
"group_code": "",
"picture_url": "http:\/\/...group-default.gif",
"school_id": "344232",
"building_id": "344232",
"links": {
"self": "http:\/\/...\/v1\/groups\/5604383"
}
}
],
"total": 1,
"links": {
"self": "http:\/\/...\/v1\/groups?start=0&limit=20"
}
}

?

View a specified group

Return A group.

{
"id": "5604383",
"title": "Google News group",
"description": "Google News group",
"website": "",
"access_code": "H2QSM-CJPXD",
"category": "",
"options": {
"member_post": 1,
"member_post_comment": 1,
"create_discussion": 1,
"create_files": 0,
"invite_type": 0
},
"group_code": "",
"picture_url": "http:\/\/...\/images\/group-default.gif",
"school_id": "344232",
"building_id": "344232"
}

Return A collection of categories

{
"category": [
{
"id": "abroad",
"title": "Abroad\/Overseas Groups"
},
{
"id": "advising",
"title": "Advising Groups"
},
{
"id": "alumni",
"title": "Alumni Groups"
},
{
"id": "career",
"title": "Career Groups"
},
{
"id": "extracurricular",
"title": "Extracurricular Groups"
}
]
}

We have exposed a GET endpoint to allow bulk exporting of data through our API in csv format. Only school-wide admins have access to this bulk export feature.

You can specify field headers you want to include in the csv through a comma separated list in the fields query parameter. If no fields are specified, you will receive all fields. Allowed fields: uid, school_uid, name_first, name_last, mail, title, group_code, type, status

Create a group

Content A group

{
"title": "My new group",
"description": "discuss new groups",
"website": "http:\/\/www.newgroup.com",
"picture_url": "http:\/\/www.newgroup.com\/profile-pic.gif"
}

Return A group.

{
"id": "5604275",
"title": "Google News",
"description": "discuss latest news",
"website": "",
"access_code": "QM6JC-D7VKK",
"category": null,
"options": {
"member_post": 1,
"member_post_comment": 1,
"create_discussion": 0,
"create_files": 0,
"invite_type": 0
},
"group_code": "",
"picture_url": "http:\/\/...group-default.gif",
"school_id": "344232",
"building_id": "344232",
"links": {
"self": "http:\/\/...\/v1\/groups\/5604275"
}
}

Modify a group

Content A group

{
"title": "My new group name updated",
"picture_url": "http:\/\/www.newgroup.com\/new-pic.gif"
}

Delete a group (cannot be undone)