Member data model

Updated:

lastname is only a single initial. We do not synthesize an id, so id is typically absent.

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

FieldTypeRequiredDescription
idstringNoUnique identifier for this member (not provided by Strava)
created_atstring (date-time)NoThe date that this member was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atstring (date-time)NoThe last date that this member was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestringNoThe full name of the member (first name + last initial for Strava)
first_namestringNoThe member's first name
last_namestringNoThe member's last name (a single initial for Strava)
group_idstringNoThe group this member belongs to (reference to HrisGroup)
is_adminbooleanNoWhether the member is an admin of the group
is_ownerbooleanNoWhether the member is the owner of the group
membership_statusenumNoThe member's membership status Values: MEMBER, PENDING, NONE
metadataClubsMetadata[]No
metadata[].idstringNo
metadata[].slugstringNo
metadata[].valueobjectNo
metadata[].namespacestringNo
metadata[].formatenumNoValues: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL
metadata[].extra_dataobjectNo

TypeScript

TypeScript
export type ClubsMember = {
	id?: string; // Unique identifier for this member (not provided by Strava)
	created_at?: string-time; // The date that this member was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // The last date that this member was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	name?: string; // The full name of the member (first name + last initial for Strava)
	first_name?: string; // The member's first name
	last_name?: string; // The member's last name (a single initial for Strava)
	group_id?: string; // The group this member belongs to (reference to HrisGroup)
	is_admin?: boolean; // Whether the member is an admin of the group
	is_owner?: boolean; // Whether the member is the owner of the group
	membership_status?: 'MEMBER' | 'PENDING' | 'NONE'; // The member's membership status
	metadata?: [];
	raw?: any; // The raw data returned by the integration for this member
} 

Zod

Zod
import { z } from 'zod';

export const ZodClubsMember = z.object({
	id: z.string().optional().describe("Unique identifier for this member (not provided by Strava)"),
	created_at: z.string-time().optional().describe("The date that this member was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("The last date that this member was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	name: z.string().optional().describe("The full name of the member (first name + last initial for Strava)"),
	first_name: z.string().optional().describe("The member's first name"),
	last_name: z.string().optional().describe("The member's last name (a single initial for Strava)"),
	group_id: z.string().optional().describe("The group this member belongs to (reference to HrisGroup)"),
	is_admin: z.boolean().optional().describe("Whether the member is an admin of the group"),
	is_owner: z.boolean().optional().describe("Whether the member is the owner of the group"),
	membership_status: z.enum("MEMBER", "PENDING", "NONE").optional().describe("The member's membership status"),
	metadata: z.array().optional(),

});

Python

Python
import dataclasses

@dataclasses.dataclass
class ClubsMemberMembership_status(str, Enum):
	MEMBER = 'MEMBER'
	PENDING = 'PENDING'
	NONE = 'NONE'

@dataclasses.dataclass
class ClubsMember:
	"""Unique identifier for this member (not provided by Strava)"""
	id: Optional[str]
	"""The date that this member was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""The last date that this member was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""The full name of the member (first name + last initial for Strava)"""
	name: Optional[str]
	"""The member's first name"""
	first_name: Optional[str]
	"""The member's last name (a single initial for Strava)"""
	last_name: Optional[str]
	"""The group this member belongs to (reference to HrisGroup)"""
	group_id: Optional[str]
	"""Whether the member is an admin of the group"""
	is_admin: Optional[bool]
	"""Whether the member is the owner of the group"""
	is_owner: Optional[bool]
	"""The member's membership status"""
	membership_status: Optional[ClubsMemberMembership_status]
	metadata: Optional[PropertyClubsMemberMetadata]
Are we missing anything? Let us know
Was this page helpful?