v1
latestOpenAPI 3.1.02026-07-241080412.6 KBFetch publisher consents
Use /publishers/:publisherId/consents to fetch publisher's consents. It returns the actual consensts version, label. Consents should be shown on the registration page to enable accept/decline it by customer. Customers shouldn't be redirected to the offer page if the required terms are not accepted.
get/publishers/{publisherId}/consents
Path parameters
publisherIdstring required
Response
200
Example response
{
"responseData": {
"consents": [
{
"name": "terms",
"version": "1",
"value": "https://cleeng.com/cleeng-user-agreement",
"label": "I accept the <a href=\"https://cleeng.com/cleeng-user-agreement\" target=\"_blank\">Terms and Conditions</a> of Cleeng.",
"required": true
}
]
}
}