Rewards
List rewards and commissions
With this endpoint you can list all rewards and commissions assigned to a promotion, promoter, campaign or entire account using the API.
Pagination details are held on response headers. Add
--include
option on curl
request to see the pagination details format and links to next pages.HTTP Request
GET https://firstpromoter.com/api/v1/leads/list
GET
/
list
Authorizations
X-API-KEY
string
headerrequiredQuery Parameters
promotion_id
string
List all rewards and commissions assigned to this promotion id
ref_id
string
List all rewards and commissions assigned to a promotion - find promotion by ref_id
promoter_id
string
List all rewards and commissions assigned to a promoter
campaign_id
string
List all rewards and commissions available to a campaign
Response
200 - application/json
id
number
ID of the reward
status
enum<string>
status of the reward.
Available options:
approved
, pending
, denied
amount
integer
amount of the reward. For reward_type cash
(monetary commission) the amount is in cents
unit
enum<string>
The reward unit.
Available options:
cash
, credits
, points
, free_months
created_at
string
ISO date string at which the reward is created
lead
any
event_id
string
conversion_amount
integer
tier_level
integer
The reward tier level
promoter
object
promotion
object