The Member object
Attributes
-
member_id
stringrequiredUnique identifier for the member.
-
facility_id
stringeither/orProvide the facility identifier type configured for your integration: use facility_id for direct-link integrations, or linking_identifier for linking-identifier integrations. Do not send both; the API uses the identifier type configured for your partner account and ignores the other one. Learn moreUnique identifier of the facility from Performance Hub.
-
linking_identifier
stringeither/orProvide the facility identifier type configured for your integration: use facility_id for direct-link integrations, or linking_identifier for linking-identifier integrations. Do not send both; the API uses the identifier type configured for your partner account and ignores the other one. Learn moreUnique identifier value for each location that the partner uses (e.g., "Branch ID", "Location Code", "Store Number"). Learn more
-
first_name
stringrequiredMember's first name.
-
last_name
stringrequiredMember's last name.
-
email
stringoptionalEmail address.
-
mobile_phone
stringoptionalMobile phone number in E.123 format (e.g.,
"+1 415 555 2671"). -
address
objectoptionalPhysical address object with the following properties:
address_line_1(string) - Primary street addressaddress_line_2(string, optional) - Secondary address linecity(string) - City namestate(string) - State/province codepostal_code(string) - Postal/ZIP codecountry(string) - ISO 3166-1 alpha-2 country code (e.g., "AU", "US")country_name(string, optional) - Full country name
-
date_of_birth
stringoptionalBirth date in
YYYY-MM-DDformat. -
gender
stringoptionalOne of
male,female,non_binary,prefer_not_to_say, orunknown. -
type
stringoptionalMember type (e.g.
staff,member,prospect). -
tags
arrayoptionalQuick helper strings or texts to categorise and identify specific members (e.g.
["vip", "personal-training", "student"]). -
membership_status
stringoptionalCurrent membership status (e.g.,
active,expired,on_hold). -
membership_plans
arrayoptionalArray of membership plans associated with the member.
-
profile_picture
stringoptionalBase64-encoded profile picture (optional).
-
created
stringoptionalISO 8601 timestamp when the member was created.
-
updated
stringoptionalISO 8601 timestamp when the member was last updated.
-
access_time_windows
arrayoptionalComplete source-owned snapshot of absolute and/or recurring weekly Access Time Windows. Omit the field to leave the snapshot unchanged; send an empty array with a newer revision to revoke it. See Access Time Windows for the shapes, validation, scope mapping, and replacement semantics.
-
access_time_windows_revision
integerrequired with access_time_windowsMonotonically increasing, non-negative JSON-safe integer for this member/source stream. Required whenever
access_time_windowsis present.
The Member object
{
"member_id": "member_11111",
"facility_id": "550e8400-e29b-41d4-a716-446655440000",
// "linking_identifier": "branch_downtown", // If using linking identifier
"first_name": "John",
"last_name": "Smith",
"email": "john.smith@example.com",
"mobile_phone": "+61 412 345 678",
"date_of_birth": "1985-06-15",
"gender": "male",
"type": "member",
"tags": ["vip", "personal-training"],
"profile_picture": "/9j/4AAQSkZJRgABAQAAAQ...",
"membership_status": "current",
"created": "2024-01-15T10:30:00Z",
"updated": "2024-01-20T14:45:00Z",
"access_time_windows_revision": 1842,
"access_time_windows": [
{
"external_id": "access-4b1782",
"kind": "absolute",
"from": 1792053000,
"to": 1792058400,
"timezone": "Australia/Perth",
"scope_key": "after_hours_entry",
"label": "Temporary site access"
}
],
"address": {
"address_line_1": "456 Bourke Street",
"address_line_2": "Apt 12",
"city": "Melbourne",
"state": "VIC",
"postal_code": "3000",
"country": "AU",
"country_name": "Australia"
},
"membership_plans": [
{
"membership_plan_id": "plan_99999",
"name": "Unlimited Monthly",
"start_date": "2024-01-01T00:00:00Z",
"status": "current",
"is_current": true,
"end_date": null
}
]
}