Endpoint Get List Member Details
Name
get_list_member
Description
Get information about a specific list member, including a currently subscribed, unsubscribed, or bounced member. [API reference]
Related Tables
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: List Id The ID of the list for which you like to perform this operation. |
YES | |
Name:
Label: Member Id The ID of the list member for which data should be read. |
YES |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(200)
|
200 | |
ListId |
DT_WSTR
|
nvarchar(200)
|
200 | |
EmailAddress |
DT_WSTR
|
nvarchar(200)
|
200 | |
UniqueEmailId |
DT_WSTR
|
nvarchar(200)
|
200 | |
ContactId |
DT_WSTR
|
nvarchar(200)
|
200 | |
FullName |
DT_WSTR
|
nvarchar(100)
|
100 | |
WebId |
DT_I4
|
int
|
||
EmailType |
DT_WSTR
|
nvarchar(20)
|
20 | |
Status |
DT_WSTR
|
nvarchar(20)
|
20 | |
ConsentsToOneToOneMessaging |
DT_BOOL
|
bit
|
||
FirstName |
DT_WSTR
|
nvarchar(50)
|
50 | |
LastName |
DT_WSTR
|
nvarchar(50)
|
50 | |
AddressLine1 |
DT_WSTR
|
nvarchar(200)
|
200 | |
AddressLine2 |
DT_WSTR
|
nvarchar(200)
|
200 | |
City |
DT_WSTR
|
nvarchar(200)
|
200 | |
State |
DT_WSTR
|
nvarchar(100)
|
100 | |
Zip |
DT_WSTR
|
nvarchar(20)
|
20 | |
Country |
DT_WSTR
|
nvarchar(100)
|
100 | |
Phone |
DT_WSTR
|
nvarchar(50)
|
50 | |
Birthday |
DT_WSTR
|
nvarchar(50)
|
50 | |
StatsAvgOpenRate |
DT_I4
|
int
|
||
StatsAvgClickRate |
DT_I4
|
int
|
||
IpSignup |
DT_WSTR
|
nvarchar(200)
|
200 | |
TimestampSignup |
DT_DBTIMESTAMP
|
datetime
|
||
IpOpt |
DT_WSTR
|
nvarchar(200)
|
200 | |
TimestampOpt |
DT_DBTIMESTAMP
|
datetime
|
||
MemberRating |
DT_I4
|
int
|
||
LastChanged |
DT_DBTIMESTAMP
|
datetime
|
||
Language |
DT_WSTR
|
nvarchar(100)
|
100 | |
Vip |
DT_BOOL
|
bit
|
||
EmailClient |
DT_WSTR
|
nvarchar(200)
|
200 | |
Latitude |
DT_I4
|
int
|
||
Longitude |
DT_I4
|
int
|
||
LocationGmtOff |
DT_I4
|
int
|
||
LocationDstOff |
DT_I4
|
int
|
||
CountryCode |
DT_WSTR
|
nvarchar(100)
|
100 | |
TimeZone |
DT_WSTR
|
nvarchar(100)
|
100 | |
Region |
DT_WSTR
|
nvarchar(100)
|
100 | |
Source |
DT_WSTR
|
nvarchar(100)
|
100 | |
TagsCount |
DT_I4
|
int
|
||
Tags |
DT_WSTR
|
nvarchar(4000)
|
4000 |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Mailchimp Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the ListMembers table, therefore it is better to use it, instead of accessing the endpoint directly:
Required Parameters | |
---|---|
List Id | Fill-in the parameter... |
Member Id | Fill-in the parameter... |
Optional Parameters | |
ContineOnErrorForStatusCode | True |
ErrorStatusCodeToMatchRegex | 404|405 |

API Destination
This Endpoint belongs to the ListMembers table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get list member details:
Required Parameters | |
---|---|
List Id | Fill-in the parameter... |
Member Id | Fill-in the parameter... |
Optional Parameters | |
ContineOnErrorForStatusCode | True |
ErrorStatusCodeToMatchRegex | 404|405 |

ODBC application
Use these SQL queries in your ODBC application data source:
Get a list member by Id from a Mailchimp List
SELECT * FROM ListMembers
WHERE Id='170a0722daae03855d6434eb3a5959fb'
WITH (ListId='e246f7e24d')
Get details on a specific member within all lists/audiences in your Mailchimp account
SELECT * FROM ListMembers
WHERE Id='170a0722daae03855d6434eb3a5959fb'
get_list_member
endpoint belongs to
ListMembers
, ListMembersBulk
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get a list member by Id from a Mailchimp List
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM ListMembers
WHERE Id=''170a0722daae03855d6434eb3a5959fb''
WITH (ListId=''e246f7e24d'')';
EXEC (@MyQuery) AT [LS_TO_MAILCHIMP_IN_GATEWAY];
Get details on a specific member within all lists/audiences in your Mailchimp account
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM ListMembers
WHERE Id=''170a0722daae03855d6434eb3a5959fb''';
EXEC (@MyQuery) AT [LS_TO_MAILCHIMP_IN_GATEWAY];
get_list_member
endpoint belongs to
ListMembers
, ListMembersBulk
table(s), and can therefore be used via those table(s).