consent
/api/v1/consent/status
GET
/api/v1/consent/status
const url = 'https://dpg.example.com/api/v1/consent/status?network=example';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://dpg.example.com/api/v1/consent/status?network=example' \ --header 'x-api-key: <x-api-key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”network
required
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
statuses
required
object
terms
required
Array<integer>
privacy
required
Array<integer>
Examplegenerated
{ "statuses": { "terms": [ 1 ], "privacy": [ 1 ] }}
