Retrieves the answers to the membership questions, given the provided filters.
Note: This endpoint requires visitor or member authentication.
Group ID.
Member IDs. If no member ID is provided, answers for all members will be returned. See the Members API for more details.
Answers to the membership questions, grouped by member.
Membership questions by question ID. Includes only questions that have been answered by the specified members.
curl -X GET \
https://wixapis.com/social-groups/v2/membership-questions/707c1e28-c111-46e1-bafa-4e97c8fa490f/answers \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: <AUTH>'
s
{
"memberAnswers": [
{
"memberId": "92c2810b-40e0-4b3d-9a51-6b404fea9a00",
"answers": [
{
"id": "4527a3a6-804e-6f36-8aa3-2a73ca30da95",
"text": "Test answer"
}
]
}
],
"questions": {
"4527a3a6-804e-6f36-8aa3-2a73ca30da95": {
"id": "4527a3a6-804e-6f36-8aa3-2a73ca30da95",
"required": true,
"text": "Question 1"
},
"8b1921a8-385c-31f5-0aa2-ee992b820f91": {
"id": "8b1921a8-385c-31f5-0aa2-ee992b820f91",
"required": false,
"text": "Question 2"
}
}
}
undefined
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.