Xsolla-logo

Get user’s attributes from clientClient-side

post/attributes/users/me/get

Gets a list of particular user’s attributes. Returns only attributes with the client value of attr_type parameter.

Notice
Rate limits for client-side methods are applied to this method.

SecurityAttributesBearer
Request
Request Body schema: application/json
keys
Array of strings

List of attributes’ keys which you want to get. If you do not specify them, the method returns all user’s attributes.

publisher_project_id
integer

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

user_id
string or null <uuid>

User ID which attributes you want to get. The request returns only attributes with the public value of the permission parameter. If you do not specify it or put the user ID of the current user there, the request returns only attributes with any value for the permission parameter.

Responses
200

OK

400

Bad Request

403

Forbidden

422

Unprocessable Entity

429

Too Many Requests

Request samples
application/json
{
  • "keys": [
    ],
  • "publisher_project_id": 0,
  • "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
Response samples
application/json
[
  • {
    }
]