POST /createfreegameto grant a free spin bonus to a specific player on a specific game. You specify how many spins to assign, and iGamingAce will give a specified free spin to the player.
Free spins are bonus rounds where players spin the reels without wagering their own balance. During free spin rounds, iGamingAce deducts spins from the free spin pool rather than from the player’s wallet.
Endpoint
https://api.igamingace.com with the base URL provided to you by iGamingAce.
Request Headers
| Name | Value | Example |
|---|---|---|
| Authorization | Bearer Token (apitoken) | Authorization: Bearer 4ca8890730e64aa69bd168eb8a3f374c |
| Accept | application/json | Accept: application/json |
| Content-Type | application/json | Content-Type: application/json |
Request Parameters
| Parameter | Description | Format | Example |
|---|---|---|---|
| agentID | ID of agent, Identification of Licensee | string | agent01 |
| userID | Player ID, Alphanumeric characters, minimum length 4, maximum length 48. | string(4-48) | player01 |
| gameID | game id | integer | 1566 |
| betlevel | 1: minimum bet, 2, 3… | integer | 1 |
| freespincount | free spin count, min:1, max:1000 | integer | 10 |
| expiretime | expired time | datetime | 2026-02-26T06:46:04.000Z |
| freespinID | identifier of the free spin, this will be used in the callbacks later | string(1-36) | freespin150 |
Response
| Parameter | Description | Format | Example |
|---|---|---|---|
| code | Result codes | integer | 0 |
| message | Description of the error, this field can be empty when success | string(256) | General Error |