Set Data Processing Consent for App Users
- 07 Aug 2023
- 1 Minute to read
Set Data Processing Consent for App Users
- Updated on 07 Aug 2023
- 1 Minute to read
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
EU’s General Data Protection Regulation came into force on May 25,2018. This legislation requires our Partners to ask for specific consent to send their data to Insider as the Data Processor. Data Processing Consent API helps you send user consent programmatically in real-time over the web using predefined web services.
Endpoint and Headers
POST https://mobile.useinsider.com/api/v1/privacy/gdpr/consent/set
Headers
Header | Sample Value | Description |
---|---|---|
Content-Type | application/json | This header specifies the media type of the resource. |
Body Parameters
Parameter | Description | Data Type | Required |
---|---|---|---|
partner_name | Your Insider partner name. The partner name should be lowercase. | String | Yes |
gdpr_consent | If consent given, true | Boolean | Yes |
target | The object that contains the unique device ID of the user, and its value. E.g. "udid": "1234" | Object | Yes |
Sample Example
Sample Body
{
"partner_name": "Your partner name goes here",
"gdpr_consent": true,
"target": {
"udid": "1A2B3C4D5E6F7X8Y9Z"
}
}
Sample Responses
200 OK
The following response returns if the request is successful.
{
"status": "ok"
}
400 Bad Request
The following response returns if the partner_name or target is empty in the request.
Bad Payload.
Limitations
- All functions must be executed with a simple HTTPS POST request.
- The partner name should be provided in the request body. If the value is incorrect, no operation will be executed.
- Each request can set data processing consent for only one UDID.
- The value of partner_name should be lowercase.
Was this article helpful?