Read member details
curl --request GET \
--url https://api.letsdothis.com/v0/memberships/{membershipId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/memberships/{membershipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/memberships/{membershipId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"phone": {
"countryCode": "<string>",
"number": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"county": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"dateOfBirth": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>"
}
]
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}Memberships
Read member details
Returns the core details (first and last name, email, phone, address, date of birth) as top-level properties and every other question on the membership form in customFields, each with its id, name and the answer as text. The caller must authorize its signed-in member to this membership.
GET
/
v0
/
memberships
/
{membershipId}
Read member details
curl --request GET \
--url https://api.letsdothis.com/v0/memberships/{membershipId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/memberships/{membershipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/memberships/{membershipId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"phone": {
"countryCode": "<string>",
"number": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"county": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"dateOfBirth": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>"
}
]
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 123,
"message": "<string>"
}This endpoint is in beta: its request and response contract can still change while it’s being developed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Pattern:
^[a-fA-F0-9]{24}$Response
Default Response
Core details are top-level; every other question on the organiser's membership form is a custom field.
The account email. Read-only; staff move a membership from the dashboard.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
ISO date (YYYY-MM-DD). Null when none is recorded.
Show child attributes
Show child attributes
Was this page helpful?

