post

/attributes/users/get

Gets the list of users by attribute. With user ID returns all attributes with specified keys.

Request Body

Schema
object
after
string

Update date of user’s attribute and ID of the latest attribute in the keys list. Do not set it at the first time. When you get users by attribute, they are sorted by their update date. If several attributes have the same update date, they are sorted by attribute ID. It is used for API pagination.

1 validation
attr_type
string

Definition of user’s access level to service attributes.

3 validations
attribute
object

Attribute is used to get users’ list.

required
keys
array[string]

List of attributes’ keys which you want to get. If you do not specify them, it returns only the list of user IDs.

1 validation
limit
integer

Number of users that is returned when searching by attribute.

4 validations
publisher_id
integer

Your merchant ID the request is made for. Needed for request authorizing.

1 validation + required
publisher_project_id
integer

Project ID from Publisher Account which you want to get users for. If you do not specify it, it returns users without the value of this parameter.

Responses

OK

1 Header
Schema
array[object]
attributes
array[object]

List of attributes of the specified user.

user_id
string

User ID. You can find it in Publisher Account > Login settings > Users > Username/ID.

1 validation

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.