Get the list of games owned by the user. The response will contain an array of games owned by a particular user.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
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_JWT_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.",
- "project_id": 30810,
- "game_sku": "com.xsolla.key_1",
- "drm": "drmfree",
- "is_pre_order": false
}
]
}