Get the list of games owned by the user. The response will contain an array of games owned by a particular user.
Limit for the number of elements on the page.
Number of the element from which the list is generated (the count starts from 0).
What type of entitlements should be returned. If the parameter is set to 1, the entitlements received by the user in the sandbox mode only are returned. If the parameter isn't passed or is set to 0, the entitlements received by the user in the live mode only are returned.
Array of strings
The list of additional fields. These fields will be in the response if you send them in your request. Available fields
Successfully received a list of game keys owned by the user.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
curl -i -X GET \ 'https://store.xsolla.com/api/v2/project/:project_id/entitlement?limit=50&offset=0&sandbox=0&additional_fields%5B%5D=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
- "has_more": false,
- "total_items_count": 1,
- "items": [
- "name": "The Greatest Game in the World",
- "description": "Description of the greatest game in the world.",
- "image_url": "https://none",
- "project_id": 30810,
- "game_sku": "theGreatestGameSku",
- "drm": "drmfree",
- "is_pre_order": false