Members

Last updated last month

get
Get Members

https://yourcompany.sport-keeper.com
/api/v1/members
Retrieve all members
Request
Response
Path Parameters
page
optional
integer
Results are paginated.
Headers
X-USER-TOKEN
required
string
Account Owner API Key
200: OK
Returns an array of members. Only the first 20 are returned. Passing the page param will paginate the results.
[
{
"id": 34,
"facility_id": 1,
"first_name": "Gilbert",
"last_name": "Daniel",
"middle_name": "Loyce",
"address": "111 Hirthe Glen",
"zipcode": "12414-7378",
"city": "Jenkinshaven",
"state": "Colorado",
"country": "169 Lise Spring",
"phone": "701-540-7972",
"birthday": "1973-03-12T00:00:00.000-05:00",
"age": 30,
"gender": "female",
"emergency_contact": "Kennith Grimes",
"emergency_contact_phone": "864-780-4539 x6133",
"picture_data": null,
"checkins_count": 0,
"created_at": "2018-11-28T19:04:25.000-05:00",
"updated_at": "2018-10-27T09:40:16.668-04:00",
"email": "audrey@kuhic.net",
"pin": 68890,
"avatar_data": null,
"merchant_customer_id": "cus_DxghAV5KT0GV34"
},
{
"id": 82,
"facility_id": 1,
"first_name": "Johnathon",
"last_name": "Kozey",
"middle_name": "Prince",
"address": "68644 Mitch Camp",
"zipcode": "94530-2094",
"city": "Lenland",
"state": "Wisconsin",
"country": "807 Grover Loaf",
"phone": "495-863-5305",
"birthday": "1971-01-28T00:00:00.000-05:00",
"age": 38,
"gender": "other",
"emergency_contact": "Steven Cassin",
"emergency_contact_phone": "590-619-0111 x8525",
"picture_data": null,
"checkins_count": 0,
"created_at": "2018-12-01T06:30:49.000-05:00",
"updated_at": "2018-10-27T09:40:22.682-04:00",
"email": "ethelterry@roberts.org",
"pin": 842154,
"avatar_data": null,
"merchant_customer_id": "cus_E4OSS8QWRCfWBJ"
}
]
404: Not Found
Could not find a member matching this query.
{
"message": "Ain't no member like that."
}

get
Get Single Member

https://yourcompany.sport-keeper.com
/api/v1/members/:id
Retrieve a single member
Request
Response
Headers
X-USER-TOKEN
required
string
Account Owner API Key
200: OK
{
"id": 34,
"facility_id": 1,
"first_name": "Gilbert",
"last_name": "Daniel",
"middle_name": "Loyce",
"address": "111 Hirthe Glen",
"zipcode": "12414-7378",
"city": "Jenkinshaven",
"state": "Colorado",
"country": "169 Lise Spring",
"phone": "701-540-7972",
"birthday": "1973-03-12T00:00:00.000-05:00",
"age": 30,
"gender": "female",
"emergency_contact": "Kennith Grimes",
"emergency_contact_phone": "864-780-4539 x6133",
"picture_data": null,
"checkins_count": 0,
"created_at": "2018-11-28T19:04:25.000-05:00",
"updated_at": "2018-10-27T09:40:16.668-04:00",
"email": "audrey@kuhic.net",
"pin": 68890,
"avatar_data": null,
"merchant_customer_id": "cus_DxghAV5KT0GV34"
}
404: Not Found
{
"message": "Ain't no membership like that."
}

‚Äč