# Introduction `ABGroupAdd` is one of the SOAP actions the [Address Book Service](../abservice.md) provides. Creates a contact group. # Client/Request The template used in this action is described on the [Address Book Service](../abservice.md) main page. ## ABGroupAdd This element has only one attribute: * `xmlns:` Is always set to `http://www.msn.com/webservices/AddressBook`. ### abId This element contains your [Address Book Service](../abservice.md) GUID. ### groupAddOptions This element has only one child: * ``: Should this group be renamed if it conflicts with a group that already exists in the Messenger Service (`true` or `false`)? ### groupInfo This element only contains the `` element. #### GroupInfo This element contains four children: * ``: The name of the group. * ``: The GUID type of group: * `C8529CE2-6EAD-434d-881F-341E17DB3FF8`: A contact group. * ``: Unknown purpose (`true` or `false`). ##### annotations This element only contains one or multiple `` element(s). ###### Annotation This element only has two children: * ``: The key of this annotation. * ``: The value of this annotation. Usually only used to set `MSN.IM.Display` to `1`. # Server/Response The template used in this action is described on the [Address Book Service](../abservice.md) main page. ## ABGroupAddResponse This element has only one attribute: * `xmlns:` Is always set to `http://www.msn.com/webservices/AddressBook`. ### ABGroupAddResult This element only contains the `` element. #### guid This element only contains the GUID of the newly created group. # Examples ## Client/Request ``` POST /abservice/abservice.asmx HTTP/1.1 SOAPAction: http://www.msn.com/webservices/AddressBook/ABGroupAdd Cache-Control: no-cache Content-Type: text/xml; charset=utf-8 Content-Length: 1486 996CDE1E-AA53-4477-B943-2BE802EA6166 false GroupSave false t=ticket&p=profile 00000000-0000-0000-0000-000000000000 false Friends C8529CE2-6EAD-434d-881F-341E17DB3FF8 false MSN.IM.Display 1 ``` ## Server/Response ``` HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: 903 12.01.1111.0000 12r1;MjAyNC0xMS0xOVQxNzo1NTo1Ni45NDla true contacts.example.com ecfaf8c7-e388-4571-8641-b061a0ac4bdc f60efbe7-94af-4b16-b926-e4e10878d329 ```