Skip to content
consent

/api/v1/consent/u18/profile-consent/issue

POST
/api/v1/consent/u18/profile-consent/issue
curl --request POST \
--url https://dpg.example.com/api/v1/consent/u18/profile-consent/issue \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "network": "example", "brand": "example", "item_domain": "example", "item_type": "example", "item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'
Media typeapplication/json
object
network
required
string
>= 1 characters
brand
string
nullable >= 1 characters
item_domain
required
string
>= 1 characters
item_type
required
string
>= 1 characters
item_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Examplegenerated
{
"network": "example",
"brand": "example",
"item_domain": "example",
"item_type": "example",
"item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Default Response

Media typeapplication/json
object
otpSent
required
boolean
Examplegenerated
{
"otpSent": true
}