Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Last Updated:

Lastupdatedate

Livesearch
placeholderSearch the Vibes Developer Wiki
typepage



An Incentive Pool entity is a collection of Incentive Codes.

Anchorgetincentivepoolsgetincentivepools

Get Incentive Pools

Code Block
GET /companies/:idcompany_key/incentives/pools

Response

An array of all Incentive Pools for the given company.

Anchorshowanincentivepoolshowanincentivepool

Show an Incentive Pool

Code Block
GET /companies/:company_idkey/incentives/pools/:pool_id
Anchorcreateanincentivepoolcreateanincentivepool

Create an Incentive Pool

Code Block
POST /companies/:company_idkey/incentives/pools
{
  "name": "Test Pool",
  "issuance_allowed": true,
  "redemption_allowed": true,
  "incentive_codes": {
    "low_threshold": 1000,
    "max_characters": 10
  },
  "distribution": {
    "method": "unique"
  },
  "notification_email_address": "your.name@your.company.com"
}
Anchorupdateanincentivepoolupdateanincentivepool

Update an Incentive Pool

Code Block
PUT /companies/:company_idkey/incentives/pools/:pool_id
{
  "name": "Test Pool",
  "issuance_allowed": true,
  "redemption_allowed": true,
  "incentive_codes": {
    "low_threshold": 1000,
    "max_characters": 10
  },
  "distribution": {
    "method": "unique"
  },
  "notification_email_address": "your.name@your.company.com"
}