Info Value
Updated on 14 February 2017
Response format JSON
HTTP Methods POST
Response object Item
API Version 1.0

Awards/User/Save

Gives an award to a user.

Parameters

Parameter Type Description
user_token
string The user's access token
award_id
integer The ID of the award that the user has achieved

Response

Element Type Description
Awards array An array of awards IDs that have been achieved by the user. Even though only one award_id is sent in the parameters, achieving that award might cause the user to achieve other awards automatically, like for example group awards
AffectedRows integer The number of awards that have been achieved by the user in this operation

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Awards/User/Save&award_id=##&access_token=##

Sample response

{
	"Awards":["3270","4039"],
	"AffectedRows":2
}