Get consent
1 min
GET
https://api.us1.odp.optimizely.com/v3/consent/{identifier_field_name}
identifier_field_namestring<p>the name of the field that this identifier falls under, such as email</p>
idstring<p>the valid messaging identifier you are requesting, such as an email address</p>
acceptstringGenerated from available response content types
200Consent information found
400Bad Request
403Forbidden
404Not Found
curl --request GET \
--url 'https://api.us1.odp.optimizely.com/v3/consent/{identifier_field_name}?id=example%40example.com' \
--header 'accept: application/json'