Get all promotions
Using the /promotions
endpoint, you can get information on every operator running an active promotion on any of their products — airtime or data
Promotions
GET
https://topups.reloadly.com/promotions
Query Parameters
size
integer
The number of operators offering discounts to be retrieved on a page. Default value is 200
page
integer
The page of the list of operators offering promotions. Default value is 1
Headers
Authorization*
string
Your access token is required as a bearer token in the request's header
{
"content":[
{
"promotionId":1,
"operatorId":129,
"title":"Tigo El Salvador From 25 Jun 2018 00:00 To 25 July...",
"title2":"Get 500 MB and 150 minutes for USA or Canada",
"description":"For top ups of $10 or more, customer...",
"startDate":"Mon, 25 Jun 2018 06:00:00 +0000",
"endDate":"Tue, 26 Jun 2018 05:59:00 +0000",
"denominations":"USD 10 and up",
"localDenominations":null
},
{
"promotionId":2,
"operatorId":158,
"title":"Tigo Guatemala From 30 Jun 2018 00:00 To 30 Jun",
"title2":"Bonus 3x",
"description":"Calls and SMS to USA, OnNet an...",
"startDate":"Sat, 30 Jun 2018 06:00:00 +0000",
"endDate":"Sun, 01 Jul 2018 05:59:00 +0000",
"denominations":"USD 14 and up",
"localDenominations":"GTQ 100.80 and up"
}
],
"pageable":{
"sort":{
"unsorted":true,
"sorted":false
},
"pageSize":3,
"pageNumber":0,
"offset":0,
"paged":true,
"unpaged":false
},
"totalPages":15,
"totalElements":44,
"last":false,
"sort":{
"unsorted":true,
"sorted":false
},
"first":true,
"numberOfElements":3,
"size":3,
"number":0
}
Request samples
curl --location --request GET 'https://topups.reloadly.com/promotions' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json'
Response parameters
Parameter
Type
Description
promotionId
integer
This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
This indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
Last updated
Was this helpful?