listAnswers( )


Retrieves the answers to the membership questions, given the provided filters.

Note: This endpoint requires visitor or member authentication.

Method Declaration
Copy
function listAnswers(
  groupId: string,
  options: ListAnswersOptions,
): Promise<ListAnswersResponse>;
Method Parameters
groupIdstringRequired

Group ID.


optionsListAnswersOptions
Returns
Return Type:Promise<ListAnswersResponse>
JavaScript
import { membershipQuestions } from "@wix/groups"; async function listAnswers(groupId, options) { const response = await membershipQuestions.listAnswers(groupId, options); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?