Loot boxes
Amount of loot boxes to return (max 100).
Index to start at.
GET /partner-api/v2/admin/loot-boxes HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
Successful response
{
"loot_boxes": [
{
"id": "text",
"name": "text",
"description": "text",
"sponsor_name": "text",
"sponsor_description": "text",
"recurring_interval_minutes": 1,
"image_box_together_url": "text",
"background_gradient_start_color": "text",
"background_gradient_stop_color": "text",
"reward_sequence_animation_type": "SHUFFLE",
"is_sign_up_reward": true,
"partner_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": 1,
"updated_at": 1,
"loot_box_reward_choices": [
{
"id": "text",
"title": "text",
"subtitle": "text",
"category": "text",
"point_reward_value": 1,
"reward_uuids": [
"text"
],
"quantity": 1,
"image": "text",
"video": "text",
"probability": 1,
"current_tier_id": "text",
"rewards": [
{
"uuid": "text",
"name": "text",
"description": "text",
"image_url": "text",
"terms_and_conditions": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
]
}
],
"total_records": 1
}
Description of the Lootbox object.
Name/title of the Lootbox object.
Lootbox sponsor name.
Lootbox sponsor description.
Interval indicating how often a Lootbox can be granted.
Base 64 string of the combined Lootbox image.
URL of the combined Lootbox image.
Hexadecimal color value for the start of the gradient.
Hexadecimal color value for the end of the gradient.
Animation type dictating how a rewarded Lootbox is presented.
Boolean flag indicating if the Lootbox should be rewarded at signup.
POST /partner-api/v2/admin/loot-boxes HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 328
"description='text'&name='text'&sponsor_name='text'&sponsor_description='text'&recurring_interval_minutes=1&image_box_together_b64='text'&image_box_together_url='text'&background_gradient_start_color='text'&background_gradient_stop_color='text'&reward_sequence_animation_type='text'&is_sign_up_reward=true"
Successful response
{
"loot_box": {
"id": "text",
"name": "text",
"description": "text",
"sponsor_name": "text",
"sponsor_description": "text",
"recurring_interval_minutes": 1,
"image_box_together_url": "text",
"background_gradient_start_color": "text",
"background_gradient_stop_color": "text",
"reward_sequence_animation_type": "SHUFFLE",
"is_sign_up_reward": true,
"partner_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": 1,
"updated_at": 1,
"loot_box_reward_choices": [
{
"id": "text",
"title": "text",
"subtitle": "text",
"category": "text",
"point_reward_value": 1,
"reward_uuids": [
"text"
],
"quantity": 1,
"image": "text",
"video": "text",
"probability": 1,
"current_tier_id": "text",
"rewards": [
{
"uuid": "text",
"name": "text",
"description": "text",
"image_url": "text",
"terms_and_conditions": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
]
}
}
the ID of the Loot Box
GET /partner-api/v2/admin/loot-boxes/{loot_box_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
Successful response
{
"loot_box": {
"id": "text",
"name": "text",
"description": "text",
"sponsor_name": "text",
"sponsor_description": "text",
"recurring_interval_minutes": 1,
"image_box_together_url": "text",
"background_gradient_start_color": "text",
"background_gradient_stop_color": "text",
"reward_sequence_animation_type": "SHUFFLE",
"is_sign_up_reward": true,
"partner_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": 1,
"updated_at": 1,
"loot_box_reward_choices": [
{
"id": "text",
"title": "text",
"subtitle": "text",
"category": "text",
"point_reward_value": 1,
"reward_uuids": [
"text"
],
"quantity": 1,
"image": "text",
"video": "text",
"probability": 1,
"current_tier_id": "text",
"rewards": [
{
"uuid": "text",
"name": "text",
"description": "text",
"image_url": "text",
"terms_and_conditions": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
]
}
}
Description of the Lootbox object.
Name/title of the Lootbox object.
Lootbox sponsor name.
Lootbox sponsor description.
Interval indicating how often a Lootbox can be granted.
Base 64 string of the combined Lootbox image.
URL of the combined Lootbox image.
Hexadecimal color value for the start of the gradient.
Hexadecimal color value for the end of the gradient.
Animation type dictating how a rewarded Lootbox is presented.
Boolean flag indicating if the Lootbox should be rewarded at signup.
PATCH /partner-api/v2/admin/loot-boxes/{loot_box_id} HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 328
"description='text'&name='text'&sponsor_name='text'&sponsor_description='text'&recurring_interval_minutes=1&image_box_together_b64='text'&image_box_together_url='text'&background_gradient_start_color='text'&background_gradient_stop_color='text'&reward_sequence_animation_type='text'&is_sign_up_reward=true"
Successful response
{
"loot_box": {
"id": "text",
"name": "text",
"description": "text",
"sponsor_name": "text",
"sponsor_description": "text",
"recurring_interval_minutes": 1,
"image_box_together_url": "text",
"background_gradient_start_color": "text",
"background_gradient_stop_color": "text",
"reward_sequence_animation_type": "SHUFFLE",
"is_sign_up_reward": true,
"partner_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": 1,
"updated_at": 1,
"loot_box_reward_choices": [
{
"id": "text",
"title": "text",
"subtitle": "text",
"category": "text",
"point_reward_value": 1,
"reward_uuids": [
"text"
],
"quantity": 1,
"image": "text",
"video": "text",
"probability": 1,
"current_tier_id": "text",
"rewards": [
{
"uuid": "text",
"name": "text",
"description": "text",
"image_url": "text",
"terms_and_conditions": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
]
}
}