Set Data Processing Consent for App Users
  • 07 Aug 2023
  • 1 Minute to read

    Set Data Processing Consent for App Users


      Article Summary

      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

      HeaderSample ValueDescription
      Content-Typeapplication/jsonThis header specifies the media type of the resource.

      Body Parameters

      ParameterDescriptionData TypeRequired
      partner_nameYour Insider partner name. The partner name should be lowercase.StringYes
      gdpr_consent

      If consent given, true
      Otherwise false

      BooleanYes
      targetThe object that contains the unique device ID of the user, and its value. E.g. "udid": "1234"ObjectYes

      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?

      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses