Create a contact group

POST {{baseUrl}}/contacts/groups

Use this API to create a contact group.

Prerequisite: Pro or higher account.

Scopes: contact_group:write:admin

Rate Limit Label: Heavy

Request Body

{"group_name"=>"<string>", "group_privacy"=>1, "description"=>"<string>", "group_members"=>[{"type"=>1, "id"=>"<string>"}, {"type"=>2, "id"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;group_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;group_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;total_members&quot;:&quot;\u003cinteger\u003e&quot;,&quot;group_privacy&quot;:2,&quot;description&quot;:&quot;\u003cstring\u003e&quot;}