Add Contact Group Service


You can link to this page to add contact groups to your Esendex account using the HTML Form Post protocol. The table below shows the fields you can include in your form. The fields marked with an asterisk (*) are mandatory.


Authentication
Username* Your Esendex username, for example joe.bloggs@test.com
Password* Your Esendex password, for example joe1234
Account* Your Esendex account reference, for example EX0000000
 
Contact details
GroupID The ID of the contact group to add. A new one will be generated if this is blank
Name* A unique name for the contact group in your account
Description A description for the group
MemberIDs A comma separated collection of contact IDs to assign to the group
 
Other information
PlainText

Specify a value for this field to return plain text results instead of a formatted HTML page.

For a successful request, results are in the format:

Result=OK

GroupID=value

where

GroupID is the ID of the group that has been added


For an unsuccessful request, results are in the format:

Result=Error

Message=value

where Message value is a URL encoded description of the error.


Note: If any of the field names conflict with those in your existing HTML page, prefix them with Esendex, for example (EsendexUserName). 

The following example is an HTML page you can use on your website: