v1

latestOpenAPI 3.1.02026-07-2414059.5 KB

/games/{game_id}/do_not_track

get/games/{game_id}/do_not_track

Path parameters

game_idstring required

ID for the Game you want to add the Do Not Track record for

Query parameters

user_idstring[]

List of IDs for users to read from to the Do Not Track list. Pass the user_id param multiple times to pull multiple users in a single call.

sha256string

Determines data hashing process. By default all IDs are hashed on the server side before storage. If you would prefer to SHA256 hash data before sending it to the API pass "client"

Headers

Authorizationstring required

This should be an API Key with the GDPR scope

X-Api-Versionstring

Response

200

Example response

{
  "optouts": [
    {
      "user_id": "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35",
      "game_id": 1,
      "consent_scopes": {
        "attribution": true
      },
      "created_at": "2023-01-01T10:12:59",
      "updated_at": "2023-01-01T10:12:59"
    }
  ]
}