Get user GDPR requests

GET /v1/publishers/users/{userId}/gdpr-requests

Get User GDPR Requests returns the GDPR requests of the user.

Path parameters

  • userId string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object
      Hide data attribute Show data attribute object
      • requests array[object] Required
        Hide requests attributes Show requests attributes object
        • action string Required

          Values are GET or DELETE.

        • status string Required

          Values are PENDING, COMPLETED, PARTIAL_COMPLETE, or EXPIRED.

        • created_at string(date-time) Required
        • completed_at string(date-time)
        • first_accessed_at string(date-time)
  • 404

    User not found

GET /v1/publishers/users/{userId}/gdpr-requests
curl \
 --request GET 'https://api.bitlabs.ai/v1/publishers/users/{userId}/gdpr-requests' \
 --header "X-S2S-Token: $API_KEY"
Response examples (200)
{
  "data": {
    "requests": [
      {
        "action": "DELETE",
        "status": "PENDING",
        "created_at": "2022-01-15T12:00:00Z",
        "completed_at": "2022-01-15T12:00:00Z",
        "link": "string",
        "link_valid_until": "2025-05-04T09:42:00Z",
        "first_accessed_at": "2022-01-15T12:00:00Z"
      }
    ]
  }
}