{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","results":{"codes":[{"status":200,"language":"json","code":"\"freeSpinsAdded\": {\n  \"success\": true,\n  \"batchId\": 3,\n  \"errorMessage\": \"\"\n}","name":""}]},"method":"post","examples":{"codes":[]},"settings":"","params":[{"name":"action","type":"string","default":"addFreeSpinsToNewPlayers","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5c"},{"name":"gameId","type":"int","default":"43","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5b"},{"name":"numberOfSpins","type":"int","default":"30","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5a"},{"name":"startEpochMillis","type":"long","default":"11002121352","desc":"Epoch time when the freespins campaign starts","required":true,"in":"body","ref":"","_id":"583d4e3e79d6151900128b47"},{"name":"expirationEpochMillis","type":"long","default":"12002141651","desc":"Epoch time when the freespins campaign ends","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd59"},{"name":"numberOfLinesPerSpin","type":"int","default":"partner default","desc":"Must be equal to or above 1","required":false,"in":"body","ref":"","_id":"5b83cc65d46b330003db302f"},{"name":"stakeMultiplier","type":"int","default":"partner default","desc":"Must be between 1-178","required":false,"in":"body","ref":"","_id":"5b83cc65d46b330003db302e"}]},"next":{"description":"","pages":[]},"title":"addFreeSpinsToNewPlayers","type":"endpoint","slug":"addfreespinstonewplayers","excerpt":"This action is used to add freespins to all new players in a particular game.<br>This action only works for slot machines prior to Starlight and Showers.<br><br>Note: the way we detect the age of a player is by checking when they first launched our gamehub, thus a \"new player\" is someone who has never had one of our games open before.","body":"","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ab1121999750500797334d2","project":"550dd1756c0b4c0d00fd436e","version":{"version":"1.5","version_clean":"1.5.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a55b149f85c3a0032f10e56","5a55b149f85c3a0032f10e57","5a55b149f85c3a0032f10e58","5a55b149f85c3a0032f10e59","5a55b149f85c3a0032f10e5a","5a55b149f85c3a0032f10e5b","5a55b149f85c3a0032f10e5c","5a55b149f85c3a0032f10e5d","5d1da68fa911a50226595581"],"_id":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2018-01-10T06:23:05.406Z","releaseDate":"2018-01-10T06:23:05.406Z","__v":2},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Freespins API","slug":"freespins-api","order":3,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e59","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T09:12:43.485Z","__v":0},"user":"5901b3d21aaba40f0074e8b4","createdAt":"2018-03-20T13:52:25.923Z","githubsync":"","__v":1,"parentDoc":null}

postaddFreeSpinsToNewPlayers

This action is used to add freespins to all new players in a particular game.<br>This action only works for slot machines prior to Starlight and Showers.<br><br>Note: the way we detect the age of a player is by checking when they first launched our gamehub, thus a "new player" is someone who has never had one of our games open before.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringaddFreeSpinsToNewPlayers
gameId:
required
integer43
numberOfSpins:
required
integer30
startEpochMillis:
required
long11002121352
Epoch time when the freespins campaign starts
expirationEpochMillis:
required
long12002141651
Epoch time when the freespins campaign ends
numberOfLinesPerSpin:
integerpartner default
Must be equal to or above 1
stakeMultiplier:
integerpartner default
Must be between 1-178

Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}