To select Tolokers based on profile data, define a filter
object in the pool parameters.
This example selects Tolokers who set their country as US and the city as Washington, D.C. in the profile.
{ "filter" : { "and" : [ { "or" : [ { "category" : "profile", "key" : "country", "operator" : "EQ", "value" : "US" } ] }, { "or" : [ { "category" : "profile", "key" : "city", "value" : 87, "operator" : "IN" } ] } ] }}
Key parameter | Value description |
---|---|
gender | string
|
country | string
|
citizenship | string
|
education | string
|
adult_allowed | boolean
|
date_of_birth | integer
|
city | integer
|
languages | string
|