Get Contact Group Members Service


You can link to this page to retrieve the contacts in a group from 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 Group details
GroupID* The ID of the group to get the members of
 
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

ID=value&QuickName=value&FirstName=value&LastName=value&TelephoneNumber=value&MobileNumber=value&
StreetAddress1=value&StreetAddress2=value&Town=value&County=value&Postcode=value&Country=value

where

ID is the identifier assigned to the contact by Esendex.

QuickName is the unique name for the contact in your account

FirstName and LastName is the full name of the contact

TelephoneNumber is the landline telephone number for the contact

MobileNumber is the number SMS messages are sent through from your Messenger account

StreetAddress1, StreetAddress2, Town, County, Postcode, and Country are the address details for the contact

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: