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.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
The communication channel of the marketing consent.
Field options. The relevant email
or phone
must be passed.