End point

GET https://[API-BASE-URL]/v2/sites/[SITE_ID]/export/members-2

Description

Returns a list of members on the site including basic member information, custom member profile fields, and family/group information. Intended to pull large exports of member records.

Parameters

Only the first 1000 results are returned at a time. Because of this, it's important to use the last-updated and last-id parameters to ensure that you get all results. We recommend starting with both values equalling 0, and then using the values from the last returned result in subsequent calls.

Parameters

Sample

GET https://public.leagueapps.io/v2/sites/43590/export/members-2

Parameters:

last-updated = 0

last-id = 0

[
    {
        "userId": 27407952,
        "id": 27407952,
        "firstName": "Ally",
        "lastName": "Clark",
        "email": "[email protected]",
        "type": "ADULT",
        "username": "YTMMNfJP",
        "orgAccountRole": "ORG_ACC_OWNER",
        "lastLogin": 1624904934000,
        "deleted": false,
        "deletedOn": null,
        "lastUpdated": 1624904934000,
        "newsletterOptIn": true,
        "dateJoined": 1624904725000,
        "userProfileId": 27335922,
				"photo": null,
        "gender": "Female",
        "birthDate": null,
        "mobilePhone": null,
        "groupName": null,
        "groupId": null,
        "membershipName": null,
        "membershipExpiration": null,
        "address1": "",
        "address2": null,
        "city": "",
        "state": "",
        "zipCode": "",
        "country": null,
        "shipAddress1": null,
        "shipAddress2": null,
        "shipCity": null,
        "shipState": null,
        "shipZipCode": null,
        "shipCountry": null,
        "Emergency Contact Name": null,
        "Emergency Contact Phone Number": null,
        "How did you hear about us?": null
    },
    {
        "userId": 27408108,
        "id": 27408108,
        "firstName": "Jane",
        "lastName": "Finch",
        "email": "[email protected]",
        "type": "ADULT",
        "username": "vrskljBB",
        "orgAccountRole": "UNAUTHORIZED",
        "lastLogin": 1624904995000,
        "deleted": false,
        "deletedOn": null,
        "lastUpdated": 1624904995000,
        "newsletterOptIn": false,
        "dateJoined": 1624904995000,
        "userProfileId": 27336075,
				"photo": null,
        "gender": "Female",
        "birthDate": null,
        "mobilePhone": "+12223334444",
        "groupName": "Finch Family",
        "groupId": 8667669,
        "membershipName": null,
        "membershipExpiration": null,
        "address1": "30 Irving Pl",
        "address2": null,
        "city": "New York",
        "state": "NY",
        "zipCode": "10003",
        "country": null,
        "shipAddress1": null,
        "shipAddress2": null,
        "shipCity": null,
        "shipState": null,
        "shipZipCode": null,
        "shipCountry": null,
				"Emergency Contact Name": null,
        "Emergency Contact Phone Number": null,
        "How did you hear about us?": null
    },
    {
        "userId": 27408129,
        "id": 27408129,
        "firstName": "Erin",
        "lastName": "Collins",
        "email": null,
        "type": "CHILD",
        "username": "DBFgD2Lv",
        "orgAccountRole": "UNAUTHORIZED",
        "lastLogin": null,
        "deleted": false,
        "deletedOn": null,
        "lastUpdated": 1624905018000,
        "newsletterOptIn": true,
        "dateJoined": 1624905018000,
        "userProfileId": 27336093,
        "photo": null,
        "gender": "Female",
        "birthDate": 1173672000000,
        "mobilePhone": null,
        "groupName": "Collins Family",
        "groupId": 8667669,
        "membershipName": null,
        "membershipExpiration": null,
				"address1": "30 Irving Pl",
				"address2": null,
        "city": "New York",
        "state": "NY",
        "zipCode": "10003",
				"shipAddress1": null,
        "shipAddress2": null,
        "shipCity": null,
        "shipState": null,
        "shipZipCode": null,
        "shipCountry": null,
        "Emergency Contact Name": null,
        "Emergency Contact Phone Number": null,
        "How did you hear about us?": null
    },
    {
        "userId": 27408222,
        "id": 27408222,
        "firstName": "Dylan",
        "lastName": "Watts",
        "email": "[email protected]",
        "type": "ADULT",
        "username": "BLe74GXz",
        "orgAccountRole": "UNAUTHORIZED",
        "lastLogin": 1624905189000,
        "deleted": false,
        "deletedOn": null,
        "lastUpdated": 1624905189000,
        "newsletterOptIn": false,
        "dateJoined": 1624905189000,
        "userProfileId": 27336186,
        "gender": "Male",
				"birthDate": null,
        "mobilePhone": "+15556667777",
        "groupName": "Watts Family",
        "groupId": 8667708,
				"membershipName": null,
        "membershipExpiration": null,
        "address1": "20 W 34th St",
				"address2": null,
        "city": "New York",
        "state": "NY",
        "zipCode": "10001",
				"shipAddress1": null,
        "shipAddress2": null,
        "shipCity": null,
        "shipState": null,
        "shipZipCode": null,
        "shipCountry": null,
        "Emergency Contact Name": null,
        "Emergency Contact Phone Number": null,
        "How did you hear about us?": null
    }
]

Data dictionary

Members data dictionary