Get member - PurposeOpen/Platform GitHub Wiki

GET /api/movements/:movement_id/members(.:format)

Returns the requested member's data

Parameters
movement_idMandatory Required Movement Identifier
emailMandatory Email address of the user who's data we are requesting

Response

Status Code

200 if Successful 400 if email request parameter is not included or is empty 404 if member is Not Found

Content

Field Description
Member's fieldsi.e.: first_name, last_name, email, etc. See Member

Example Request

GET /api/movements/test-movement/members Content-Type: application/x-www-form-urlencoded

email=newmember%40example.com

Example Response

200 (OK) Content-Type: application/json

{"country_iso": "us",
"email": "[email protected]",
"first_name": "John",
"home_number": "555-5555",
"id": 12345,
"last_name": "Doe",
"mobile_number": "555-4444",
"postcode": "10011",
"street_address": "5th Avenue",
"suburb": "New York"
}

back