consent
/api/v1/consent/status-by-identifier
GET
/api/v1/consent/status-by-identifier
const url = 'https://dpg.example.com/api/v1/consent/status-by-identifier?network=example';const options = {method: 'GET'};
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-by-identifier?network=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”network
required
string
phone
string
email
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 ] }}
