Xsolla-logo

Get user’s read-only attributes from server

post/attributes/users/{user_id}/get_read_only

Gets a list of user’s read-only attributes.

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

SecurityAttributesServer
Request
path Parameters
user_id
required
string <uuid>

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

Request Body schema: application/json
publisher_id
required
integer or null

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

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 from Publisher Account which you want to get user’s attributes for. If you do not specify it, it returns attributes for all games with them.

Responses
200

OK

400

Bad Request

403

Forbidden

422

Unprocessable Entity

429

Too Many Requests

Request samples
application/json
{
  • "keys": [
    ],
  • "publisher_id": 0,
  • "publisher_project_id": 0
}
Response samples
application/json
[
  • {
    }
]