Grants entitlement to 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 |
Entitlement was granted.
Authorization header not sent.
Game code not found. Make sure the code and project_id are correct.
Invalid request.
{- "user_external_id": "user-external-id",
- "game": {
- "sku": "com.xsolla.game_1"
}, - "drm": {
- "sku": "com.xsolla.key_1"
}, - "code": "AAAA-BBBB-CCCC-DDDD",
- "mode": "default",
- "user_country": "US"
}{- "statusCode": 403,
- "errorCode": 0,
- "errorMessage": "Authorization header not sent"
}