consent
/api/v1/consent/u18/profile-consent/precreate/issue
POST
/api/v1/consent/u18/profile-consent/precreate/issue
const url = 'https://dpg.example.com/api/v1/consent/u18/profile-consent/precreate/issue';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"network":"example","brand":"example","item_domain":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dpg.example.com/api/v1/consent/u18/profile-consent/precreate/issue \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "network": "example", "brand": "example", "item_domain": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
network
required
string
brand
string
item_domain
required
string
Examplegenerated
{ "network": "example", "brand": "example", "item_domain": "example"}Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
otpSent
required
boolean
Examplegenerated
{ "otpSent": true}
