getAudience( )


Retrieves the audience of a paused campaign. Use this method to retrieve all selected audience of the paused campaign at once, so they can be passed in bulk when the campaign is published again after being paused.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Access Verticals by Automations
Manage Email Marketing
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
campaignIdstringRequired

Campaign ID.

Returns
Return Type:Promise<GetAudienceResponse>
Errors

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

Did this help?