Xsolla-logo

Get all promotion list

get/v2/project/{project_id}/admin/promotion

Gets the list of promotions of a project.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
query Parameters
limit
integer

Limit for the number of elements on the page.

Example: limit=50
offset
integer

Number of the element from which the list is generated (the count starts from 0).

Example: offset=0
enabled
integer

Filter elements by is_enabled flag.

Responses
200

List of promotions was successfully received.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

Request samples
Response samples
application/json
{
  • "promotions": [
    ],
  • "total_promotions_count": 5
}