POST
/api/v1/customer/get-consent-content
This API method will allow you to get the customer's consent content for the given content type and platform.
platform_type = ios, android, all(only for privacy-policy, terms-and-conditions)
type(consent type) = data, permission, privacy-policy, terms-and-conditions
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
platform_type | STRING | true |
type | STRING | true |
Sample Response
{
"status": true,
"html": "<p><strong>android</strong> permission</p>"
}{
"status": false,
"errorCode": "VALIDATION_EXCEPTION",
"message": "Please provid a valid platform type"
}{
"status": false,
"errorCode": "VALIDATION_EXCEPTION",
"message": "Content Revision is not found for the given platform"
}