POST
/
meta
/
get_targeting_systems_lookup
Get Device Targeting
curl --request POST \
  --url https://public.plai.io/meta/get_targeting_systems_lookup \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "type": "<string>"
}'
{
    "success": true,
    "results": {
        "success": true,
        "targetingSystems": [
            {
                "type": "user_os",
                "name": "user_os",
                "platform": "Android",
                "description": "1.0;1.1;1.5;1.6;2.0;2.1;2.2;2.3;3.0;3.1;3.2;4.0;4.1;4.2;4.3;4.4;5.0;5.1;6.0;7.0;7.1;8.0;8.1;9.0;10.0;11.0;12.0;13.0;14.0;15.0"
            }
        ]
    }
}

Request Body

userId
string
required
User ID, If not already created, make a user on create user page first. If already created, retrieve the user ID from get profile page.
type
string
required
Type = os or device

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object
{
    "success": true,
    "results": {
        "success": true,
        "targetingSystems": [
            {
                "type": "user_os",
                "name": "user_os",
                "platform": "Android",
                "description": "1.0;1.1;1.5;1.6;2.0;2.1;2.2;2.3;3.0;3.1;3.2;4.0;4.1;4.2;4.3;4.4;5.0;5.1;6.0;7.0;7.1;8.0;8.1;9.0;10.0;11.0;12.0;13.0;14.0;15.0"
            }
        ]
    }
}