This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a marketing consent by its details. Required fields:
details.type
.details.email
OR details.phone
.Note: Due to the ongoing development of our new documentation portal, the query parameter is not displaying as expected. Use the details
object located in the marketing consent object in the request. You can also see the code example for reference.
You can only call this method when authenticated as a Wix app or Wix user identity.
The communication channel of the marketing consent.
Field options. The relevant email
or phone
must be passed.