POST

Create Group


Creates a group.

When a group is created, the newly created group is added to the Groups List page of a site.

Specify a creatorId to set the group's creator. The group's creator will automatically become a group admin, see Terminology (REST | SDK).

Wix users determine who can create a group. This setting can be found in a site's Dashboard under Groups > General Settings > Group Creation. If set to members with approval, site members can create a group with the Create Group method, and the group becomes a createRequest with a status of PENDING. A Wix user either approves or rejects the request to create a group. If set to all site members, site members can create a group with the Create Group method and no approval is required. If set to only admins, only Wix users can create a group with the Create Group method. Default is set to members with approval.

Endpoint
POST
https://www.wixapis.com/social-groups-proxy/groups/v2/groups

Body Params
groupGroupRequired

Group to create.


creatorIdstringformat GUID

ID of the member who created the group, from the Members API. This member will automatically become an admin.


contentTypestring

Content type.

Response Object
groupGroup

Created group.

Create Group Example 1
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?