# Redeem game code by client Grants entitlement by a provided game code. AttentionYou can redeem codes only for the DRM-free platform. Endpoint: POST /v2/project/{project_id}/entitlement/redeem Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 ## Request fields (application/json): - `code` (string, required) Game code. Example: "AAAA-BBBB-CCCC-DDDD" - `sandbox` (boolean) Redeem game code in the sandbox mode. The option is available for those users who are specified in the list of company users. ## Response 403 fields (application/json): - `statusCode` (integer) Example: 403 - `errorCode` (integer) - `errorMessage` (string) Example: "Authorization header not sent." - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 404 fields (application/json): - `statusCode` (integer) Example: 404 - `errorCode` (integer) Example: 4603 - `errorMessage` (string) Example: "[0401-4603]: Game code not found." - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `statusCode` (integer) Example: 422 - `errorCode` (integer) Example: 5103 - `errorMessage` (string) Example: "[0401-5103]: Selected drm is not drmfree." - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 201 fields