Giveaways

List giveaway pools

Changed on

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Retrieve all the giveaway pools for an account.

get/v1/giveaways/pools

Request

Query parameters

pageSizeinteger

The number of items in the response.

skipinteger

The number of items to skip when paging through large result sets.

sortstring

The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with -.

Note: You may not be able to use all fields for sorting. This is due to performance limitations.

withTotalResultSizeboolean

When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.

  • When true: totalResultSize contains the total number of results for this query.
  • When false: Only hasMore is returned, and it is set to true when there are more results than shown on the page.
applicationIdsstring

Filter by one or more Application IDs, separated by a comma.

Response

OK

hasMoreboolean
totalResultSizeinteger

Example response

{
  "totalResultSize": 1,
  "data": [
    {
      "id": 6,
      "created": "2020-06-10T09:05:27.993483Z",
      "accountId": 3886,
      "name": "My giveaway pool",
      "description": "Generic pool",
      "subscribedApplicationsIds": [
        2,
        4
      ],
      "sandbox": true
    }
  ]
}

Changes